Click here to Skip to main content
15,917,005 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Good evening,
If any one can help and guide me. I need to create a dropdownlist where in the user can select a value from the dropdownlist or type the value in, if the one he/she needs is not their, I am making windows form appliction in C# and using VS2008.

THNX
Posted

If you set DropDown to the DropDownStyle property then this dropdown is editable, user cal select an item or type the value in it.
you can get the user typed value by this->
MessageBox.Show(comboBox1.Text);

I think this will solve your problem ;)
 
Share this answer
 
Comments
zaki_8279025 12-Oct-10 10:43am    
Thanks, this has solved my problem, GOD bless you
It's called a ComboBox. You'll find it in your ToolBox.
 
Share this answer
 
Comments
zaki_8279025 12-Oct-10 10:43am    
Thanks, this has solved my problem, GOD bless you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900