Dim rows = DataGridView1.SelectedRows For r = rows.Count - 1 To 0 Step - 1 Dim rowView = DirectCast(rows(r), DataRowView) rowView.Delete() Next DataGridView1.ClearSelection()