Hi
I am having issues with a combobox column in a datagridview with virtual
mode enabled. I am binding data to both the datagrid and combobox from
an sql database. Everything works fine however when I select an item in
the combobox and move onto the next row, the item dissapears from the
combobox and it moves back to a blank state. I have put a break point
at: (and it fires off when I click the drop down on the combobox). Can
anyone suggest a solution.
Private Sub DataGridView1_E ditingControlSh owing(ByVal sender As
System.Object, ByVal e As DataGridViewEdi tingControlShow ingEventArgs)
Handles DataGridView1.E ditingControlSh owing
Dim editingComboBox As ComboBox = CType(e.Control , ComboBox)
AddHandler editingComboBox .SelectedIndexC hanged, AddressOf
Me.editingCombo Box_SelectedInd exChanged
End Sub