hello dear i m in problem to check all checkbox by checking one checkbox like ...
please any body help me best regurds.
protected void CheckBox6_CheckedChanged(object sender, EventArgs e)
{
if (CheckBox6.Checked == true)
{
for (int i = 0; i <= GridView2.Rows.Count - 1; i++)
{
GridViewRow row = GridView2.Rows[i];
CheckBox Chbox = (CheckBox)row.FindControl("CheckBox7");
Chbox.Checked = true;
}
}
}