CheckBox c = new CheckBox();
foreach (DataGridItem dig in data.Items)
{
c = (CheckBox)(dig.Cells[0].FindControl("CheckBox1"));
if(c.Checked)
{
Response.Write("THE SELECTED NAME S :"+dig.Cells[1].Text);
Response.Write("
THE SELECTED NUMBER S "+dig.Cells[2].Text);
}
}
No comments:
Post a Comment