GridView1.AllowPaging = false; GridView1.DataBind(); foreach (GridViewRow item in GridView1.Rows) { CheckBox chkBox = (CheckBox)item.FindControl("cbstrChild"); .............. } GridView1.AllowPaging = true; GridView1.DataBind();
for (int i = 0; i <gridview1.pagecount;>{ GridView1.PageIndex = i; foreach (GridViewRow item in GridView1.Rows) { CheckBox chkBox = (CheckBox)item.FindControl("chkBxSelect"); if (chkBox.Checked) { ... } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)