Hi to all
I have a datagridview with 1 combobox and 2 textbox
i want when the user update the combobox the program fill the first textbox.
I have the code for validation but i dont know how to take the value of the combobox
Private Sub dataGridView1_CellValidating(ByVal sender As Object, ByVal e As DataGridViewCellValidatingEventArgs) Handles Movement_roller_DDataGridView.CellValidating
Dim headerText As String = _
Movement_roller_DDataGridView.Columns(e.ColumnIndex).HeaderText
If Not headerText.Equals("Κωδικος Roller") Then Return
If (String.IsNullOrEmpty(e.FormattedValue.ToString())) Then
Movement_roller_DDataGridView.Rows(e.RowIndex).ErrorText = "Ο Κωδικώς Roller δεν μπορεί να είναι κενός"
e.Cancel = True
End If
End Sub