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

Re: ComboBox and Datasource by Dwight

Dwight
Thu Sep 21 08:39:53 CDT 2006

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

Max3vil wrote:
> 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