Private Sub ButtonX4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonX4.Click For Each rows As DataGridViewRow In DataGridView2.SelectedRows DataGridView2.Rows.Remove(rows) Next End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)