vb.net get name by Selection Changed

The solution for “vb.net get name by Selection Changed” can be found here. The following code will assist you in solving the problem.

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

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts