Click here to Skip to main content
16,004,761 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
sir,

I have one combo box.My requirement is in run time I don't want to enter keyboard data

inside Combo box. Is there any way please help me.

Thanks & Regards
Posted

1 solution

Set DropDownStyle to DropDownList
C#
ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList;

Ref:http://msdn.microsoft.com/en-us/library/system.windows.forms.combobox.dropdownstyle.aspx[^]
 
Share this answer
 
Comments
kranthi.oru 16-Aug-11 7:03am    
Thank you very much.
Prerak Patel 16-Aug-11 7:08am    
You are welcome.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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