Horje
vb.net get name by Cell Click Code Example
vb.net get name by Cell Click
Private Sub GetSelectionChangedValue(e As DataGridViewCellEventArgs)
        Dim selectedRow As DataGridViewRow
        Dim index As Integer
        index = e.RowIndex
        selectedRow = dgvtest.Rows(index)
        lblCellCange.Text = selectedRow.Cells(2).Value.ToString

    End Sub

    Private Sub dgvtest_CellClick(sender As Object, e As DataGridViewCellEventArgs) Handles dgvtest.CellClick
        GetSelectionChangedValue(e)
    End Sub




Vb

Related
how to check is the value enterd is a number or text in vba Code Example how to check is the value enterd is a number or text in vba Code Example
vba ado ace sql alias ignored for calculated column Code Example vba ado ace sql alias ignored for calculated column Code Example
textbox find and replace vb Code Example textbox find and replace vb Code Example
excel vba export sheet as a csv without losing focus of my current workbook Code Example excel vba export sheet as a csv without losing focus of my current workbook Code Example
find and replace textbox Code Example find and replace textbox Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7