Identity of the check box in a grid view which triggered a post back
In the checkedchanged event, you can obtain the identity of the check box in the grid view that raised the event.
CheckBox check= (CheckBox)sender ;
GridViewRow row= (GridViewRow)check.NamingContainer ;
int rowIndex = row.RowIndex;
Advertisement