On Tue, 12 Apr 2005 10:24:13 +0200, Hrvoje Voda wrote:
I would like to fill combo box with a string.
I call this function but nothing is placed in it.
string UserName = "something";
comboBoxMembers.Items.Add(UserName);
What do you mean by "fill combo box with a string"? Do you want to add
entries to the DropDownList or do you want to set the Text that is
displayed in the TextBox part of the ComboBox?
To fill the DropDownList, your code looks correct.
To fill the TextBox: comboBoxMembers.Text = UserName;
--
Claudio Grazioli
http://www.grazioli.ch