Showing posts with label menghapus baris terpilih pada DataGridView vb net 2008. Show all posts
Showing posts with label menghapus baris terpilih pada DataGridView vb net 2008. Show all posts

Bagaimana menghapus baris terpilih pada DataGridView vb net 2008 ?

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If brgDataGridView.CurrentRow.Index <> brgDataGridView.NewRowIndex Then brgDataGridView.Rows.RemoveAt(brgDataGridView.CurrentRow.Index) End If End Sub