Hi,

after setting the DataSource of a combobox

mycombo.DataSource = myStringArray;

(for example in the load event method of the form)
it is not possible the set the selected item.

Setting the default value like
mycombo.Text = myStringArray[2];
or
mycombo.SelectedIndex = 2;
or
mycombo.SelectedText = myStringArray[2];

doesn't work.

This is because
mycombo.Items.Count = 0.

At what time will the items be filled ?
Is there a possibility to fill the items after setting the datasource ?


Thanks,


Kai