DataGridViewCheckBoxColumn CBColumn2 = new DataGridViewCheckBoxColumn(); CBColumn2.HeaderText = "Confirm"; CBColumn2.FalseValue = false; CBColumn2.TrueValue = true; dataGridView2.Columns.Insert(0, CBColumn2);
foreach (DataGridViewRow selRow in dataGridView2.SelectedRows.OfType<DataGridViewRow>().ToArray()) { dataGridView2.Rows.Remove(selRow); dataGridView1.Rows.Add(dataGridView2.SelectedRows); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)