how to write the following code into server side.that is aspx.cs page. I am just beginner. I wrote all the grid definitions into server side.I am trying to insert the checkbox column into infragistics webdatagrid.
<ig:WebDataGrid
ID="wdg"
runat="server"
DataKeyFields="Id" <-- change with your primary key
Width="400">
<Columns>
<ig:UnboundCheckBoxField Key="Checked" Header-Text="Select" Width="50" headerCheckBoxMode="BiState">
<Header Text="Select"></Header>
</ig:UnboundCheckBoxField>
</Columns>
You can define and add the UnboundCheckBoxField to your grid on the server-side like this: