<DataGrid AutoGenerateColumns="False" Name="gv"> <DataGrid.Columns> <DataGridTextColumn Binding="{Binding Path=Empid}" Header="empid"/> <DataGridTextColumn Binding="{Binding Path=empname}" Header="ename"/> <DataGridTextColumn Binding="{Binding Path=deptid}" Header="Age"/> <DataGridTextColumn Binding="{Binding Path=salary}" Header="Employee Number"/> <DataGridTextColumn Binding="{Binding Path=joiningdate}" Header="JoiningDate"/> <DataGridTemplateColumn Header="Isworking"> <DataGridTemplateColumn.CellTemplate> <DataTemplate> <CheckBox Name="chk" Content="{Binding Path=isworking}" IsChecked="False" IsThreeState="False"/> </DataTemplate> </DataGridTemplateColumn.CellTemplate> </DataGridTemplateColumn> </DataGrid.Columns> </DataGrid>
<big></big>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)