DataGridViewCheckBoxColumn chk = new DataGridViewCheckBoxColumn(); dataGridView1.Columns.Add(chk); chk.HeaderText = "Check Data"; chk.Name = "chk"; int count = dataGridView1.Rows.Count; for (int i = 0; i < count; i++) { dataGridView1.Rows[i].Cells[12].Value = false; }
dataGridView1.Rows.Clear(); dataGridView1.Refresh();
dataGridView1.Columns.RemoveAt(12);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)