for(int index =0;index<dt1.Rows.Count;index++) { CheckBox chkselect = (CheckBox)grdReplicate.Rows[index].FindControl("chkSelect"); if (chkselect.Checked == true) { if (res == "") { lblppo=(Label)grdReplicate.Rows[index].FindControl("lblgrdppono"); res = Convert.ToString(grdReplicate.DataKeys[index].Value); ppoids = lblppo.Text; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)