Private Sub DataGridView1_EditingControlShowing(ByVal sender As Object, _
ByVal e As System.Windows.Forms.DataGridViewEditingControlShowingEventArgs) Handles DataGridView1.EditingControlShowing
Dim x As ComboBox
x = e.Control
AddHandler x.SelectedIndexChanged, AddressOf ValeChanged
End Sub
Private _value As Integer
Private Sub ValeChanged(ByVal sender As System.Object, ByVal e As EventArgs)
_value = CType(sender.selecteditem, Integer)
MessageBox.Show(_value)
End Sub