In the GridView add the CheckBoxField:
<asp:CheckBoxField DataField="STUD_Induction" HeaderText="Induction"
SortExpression="STUD_Induction"
/>
In the code file get the value of the CheckBoxField:
string chkInduction = ((CheckBox)studentListGridView.Rows[e.RowIndex].Cells[5].Controls[0]).Checked.ToString();
No comments:
Post a Comment