<
I am taking check box in gridview follwing and more data coming from database
how can i get each and every cell value of that checked box checked row
i have tried like this
but getting null in string
Dim Grow As GridViewRow = CType(chkbox.NamingContainer, GridViewRow)
asp:TemplateField HeaderText="xxx">

Krishna GaradRank #191 · 12.8K reputationPosted May 12, 2011, 2:14 AM EDT
foreach(GridViewRow rowin Gridview1.Rows)
{
CheckBox chkid=(CheckBox)row.FindControl("IdofCheckbox");
if(chkid.Checked)
{
//Do
}
}