foreach (GridViewRow r in GVUsers.Rows) { CheckBox chk = (CheckBox)r.FindControl("checkRow"); if (chk!=null && chk.Checked) { //Write your code to insert data of this row into data base.. } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)