foreach (GridViewRow rows in gvModification.Rows)
{
CheckBox ch = (CheckBox)rows.FindControl("chkrejct");
if (ch.Checked && ch.Enabled == true)
{
int id = Convert.ToInt32(gvModification.DataKeys[rows.RowIndex].Value);
}
}
{
CheckBox ch = (CheckBox)rows.FindControl("chkrejct");
if (ch.Checked && ch.Enabled == true)
{
int id = Convert.ToInt32(gvModification.DataKeys[rows.RowIndex].Value);
}
}
No comments:
Post a Comment