views:

230

answers:

2

There appears to be every other kind of drop-down menu--those that allow user input, those for integers only, those that don't...drop down, and even those that have ugly check boxes next to them. I just want a simple drop-down menu (like you'd see if I used in html) that lets the user choose exactly ONE item. (and one's chosen by default)

Any ideas? This should be extremely easy, yet I've spent an hour and half figuring this out...

A: 

chk out this link.. this can be useful..
and search for dropdown and you will find the solution
http://www.codeproject.com/KB/dotnet/Visual_Studio_2008.aspx

Nave
That link doesn't seem to talk about dropdowns at all...?
Ant
+2  A: 

You can use a ComboBox with its ComboBoxStyle set DropDownList: http://msdn.microsoft.com/en-us/library/system.windows.forms.comboboxstyle.aspx

Mark Seemann