hi
I have imagebutton in gridview and I used below code for it...
protected void Imgstatus_Click(object sender, EventArgs e)
{
ImageButton Imgstatus = (GridView2.Rows[0].FindControl("Imgstatus") as ImageButton);
Imgstatus.Visible = false;
}
it just run for first row of grid view becuse of
(GridView2.Rows[0]
I want it run for all row of gridview so instead of [0] what should I write?
Best Regards
Neda