ComboBox and Datasource

M

Max3vil

I have a combobox that load its data from a dataset.
After i had load data, i would like to add an element, to a combobox, in the
first position.
Whow do i do ?

any ideas

tnx
 
D

Dwight

If the combo box is bound to the dataset, you can't add elements to the
list unless you add them to the underlying dataset.

You might try reading the data from the dataset to an array, add your
item as element 1 and then iterate through the array to add the rest of
the list items to the combo box.

Dwight
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top