Hello,
How can i make a combobox to take values strictly from the list? I don't want the user to be able to add its own values.
Thank you.
Combobox strictly from the list
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Kirtan PatelRank #292 · 8.6K reputationPosted Sep 10, 2009, 3:59 AM EDT
please don't forget to mark "Do you like answer" it will give me some credits :)
or By Code you can Do it By Following Code
comboBox1.DropDownStyle = ComboBoxStyle.DropDownList;
Roei BarRank #1,271 · 1.4K reputationPosted Sep 10, 2009, 4:02 AM EDT
cmb.DataSource = List
cmb.DataMemeber = "Name";
cmb.DataValueText = "Value";
Master BillaRank #2,229 · 630 reputationPosted Sep 10, 2009, 8:44 AM EDT
Just make code,
comboBox1.DropDownStyle = ComboBoxStyle.DropDownList;
Thank you
DealyRank #9,518 · 205 reputationPosted Sep 11, 2009, 12:59 AM EDT
The problem is that if the user searches for the word "Hello" and types "He" it can only goes to "H". How can i make it goes with more than one letters?