Displaying null value in a typical combobox - C#
Folks,
I have a very simple problem, I have a ComboBox bound to a datasource (ArrayList) The ArrayList does not contain an entry for a null value, but null is a perfectly valid value. I would like to know if there is anyway to have the combobox display nothing on start up. Currently it is throwing an exception.
Yes, I could add a record with null value to the ArrayList, but is not the desired solution. I am using the ArrayList to populate a combobox in one form a datagridviewcombobox in another form. dgvcombobox handles this well with NullValue and DataSourceNullValue methods, is there something I am missing with a combobox?
|