|
Prev: (S)NTP Client Code
Next: Convert C to VB
From: JB on 8 Jul 2008 06:53 Hi All, I have a DataGridView with a column showing a combo box containing non binded values (i.e. I set the values in the Combo myself using ComboBoxColumn.Items.Add). I also want this Combo Box to allow the user to enter any value as well as the one from the drop down list. I've managed to set the style of the Combo Box to ComboBoxStyle.DropDown and I can type any value in the combo, but when I get out of the control I get a DataError exception. It looks like DGV tries to match the string I entered with one of the value in the drop down list. I've tried using the CellFormatting and CellParsing events but without success. Can anybody suggest a way to do this? Thanks JB
|
Pages: 1 Prev: (S)NTP Client Code Next: Convert C to VB |