for (int i = 0; i <= GridView1.Rows.Count - 1; i++) { object obj = GridView1.Rows[i].Cells[0]; if (((obj != null))) { DataGridViewCheckBoxCell checkBox1 = (DataGridViewCheckBoxCell)obj; object objValue = checkBox1.Value; if (((objValue != null))) { bool @checked = (bool)objValue; if ((@checked)) { SplitMethod.ReadOnly = true; } else { SplitMethod.ReadOnly = false; } } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)