I am currently using this code:
foreach (DataGridViewRow item in this.dataGridView1.SelectedRows)
{
dataGridView1.Rows.RemoveAt(item.Index);
}
I have checkmarks down the first column, but with this code, it only get the selected. How do i get the Selected CheckBoxes only to delete with the row?
You want something like
I hope this helps.