foreach (GridViewRow row in GridViewStudent.Rows) { CheckBox Chk = (CheckBox)row.FindControl("checkbox1"); if (Chk.Checked) { // Find the id of the student similarly how we found the checkbox, your id can be in a hidden field or on label. Find that control by its id and get the value.. //Make an update call to the database } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)