Mendapatkan Nilai DataGridView vb.net

Posted On // Leave a Comment
Syntax berikut akan mendapatkan nilai DataGridView pada vb.net

Private Sub ButtonItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonItem1.Click

Dim i = GridLaporan.CurrentRow.Index

msgbox (GridLaporan.Item(2, i).Value)

End Sub

0 komentar: