private List<GridViewRow> GetCheckedRows(GridView grd) { List<GridViewRow> result = new List<GridViewRow>(); foreach (GridViewRow gridRow in grd.Rows) { CheckBox chkBox = gridRow.FindControl("checkBoxName") as CheckBox ; if (chkBox != null && chkBox.Checked ) { result.Add(gridRow); } } return result; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)