I have a combobox which contains the different values from database. However, if the user types another name into the combobox, it is accepted. I want to allow only the names already associated with the control. But there is no readonly property form a combobox in VS 2010
bahed121
11
Junior Poster in Training
Recommended Answers
Jump to PostSet DropDownStyle property of combobox to "DropDownList" it will make the control only hold values you want
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.