Hello,
I have an unbound DataGridView, one of the columns of which is a
DataGridViewComboBox Column. The combo box contains several entries that the
user can choose from.
I use this grid view to accept data and save it to a file. Later the user
can edit data as well. While displaying existing data, I try to set the
combobox cell index to one of the existing values of the combo box items, but
this doesnt work at all.
The underlying pseudocode :
during initialization -
get the underlying combobox control of the cell
set the ComboBox.SelectedIndex to the index corresponding to the item for
which we have the value.
Any help is very much appreciated.
thank you.