How do I show the contents of the cell in a datagrid instead of the row index as I am below.
VB Code:
' Private Sub dgvRoutes_CurrentCellChanged( _ ByVal sender As Object, _ ByVal e As System.EventArgs) _ Handles dgvRoutes.CurrentCellChanged Dim id As String = CStr(dgvRoutes.CurrentCell.RowNumber) MessageBox.Show(id) End Sub




Reply With Quote