protected void btnClick_Click(object sender, EventArgs e) { foreach (DataGridViewRow row in dataGridView1.Rows) { DataGridViewCheckBoxCell chk = row.Cells[0] as DataGridViewCheckBoxCell; if (Convert.ToBoolean(chk.Value) == true) { //Add code here for adding into array } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)