vb.net get name by Selection Changed code example
Example: vb.net get name by Selection Changed
Private Sub dgvtestFromESNF_SelectionChanged(sender As Object, e As EventArgs) Handles dgvtestFromESNF.SelectionChanged
Dim dgvRow As DataGridViewRow
dgvRow = dgvtestFromESNF.CurrentRow
lblSelect.Text = dgvRow.Cells(2).Value.ToString
End Sub