Inside the
GridView1_RowCommand
Event, see if the CommandName is "view" or not.
If it is true, then Find the Images and make them visible.
void GridView1_RowCommand(Object sender, GridViewCommandEventArgs e)
{
if(e.CommandName=="view")
{
int index = Convert.ToInt32(e.CommandArgument);
GridViewRow row = GridView1.Rows[index];
Image image1 = (Image)row.FindControl("Image1");
image1.Visible = true;
}
}