How to add checkbox column to gridview .
i\'ve tried:
foreach (GridViewRow objRow in GridView1.Rows)
{
TableCell tcCheckCell = new TableCell();
Che
The problem is that you cannot add a CheckBox
field to a GridView
in order to have a column of checkboxes - the GridView doesn't support it:
Instead you have to change the template of each row, manually adding a CheckBox
control to the template of a row.
But it's what you have to do.