>I have a ComboBox bound to a dataset. I want to add an Item "<Select an
>Entry>" to the combo box. It is in addition to the items already added to the
>control through the Dataset (From DB). How it can be done?
>
>Thanks.
Thanks for that.
Once a Combobox is bound to a dataset, adding items through
ComboBox.Items.Insert(0, "First Entry") raises exception ("Items collection
cannot be modified when the DataSource property is set").
> >I have a ComboBox bound to a dataset. I want to add an Item "<Select an
> >Entry>" to the combo box. It is in addition to the items already added to the
[quoted text clipped - 8 lines]
> http://www.arltex.com
> http://www.tomchilders.com
Otis Mukinfus - 04 Apr 2006 13:06 GMT
>Thanks for that.
>Once a Combobox is bound to a dataset, adding items through
[quoted text clipped - 13 lines]
>> http://www.arltex.com
>> http://www.tomchilders.com
Well I'll be darned!
I never bind data to ComboBoxes used for lookup lists. That's another good
reason for not doing it.
Good luck with your project,
Otis Mukinfus
http://www.arltex.com
http://www.tomchilders.com