ComboBox and Datasource

  • Thread starter Thread starter Max3vil
  • Start date Start date
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
 
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
 
Back
Top