int iteration = 0;for ( iteration = 0 ; iteration < GridView1.Rows.Count ; iteration++ ){ CheckBox checkBox = ( CheckBox ) GridView1.Rows [ iteration ].Cells [ 0 ].FindControl ( "cbCheckBox" ); checkBox.Checked = true;}