Take the 2-minute tour ×

I am assigning a 'ds' dataset to datagrid.In addition to that I want to add new column with check boxes.That new column will be first column of datagrid.

Currently I am using below code,

DataGrid1.DataSource = dsResult.Tables("Result")

Result table has 4 column....in addtion to that i want to column "Selection" with check boxes

share|improve this question
add comment

1 Answer

You can add a checkbox inside the itemtemplate like

   <asp:CheckBox ID="chkComplete" runat="server" />

For a basic understanding read this article

Including a CheckBox Control Inside an ASP.NET DataGrid...

share|improve this answer
add comment

Your Answer

