Adding a dropdown Box to windows Forms Using Visual Basic

Hello Team
  I see that windows forms does not have a dropdown box option. Has anyone found a way around this were I would be able to add a dropdown box to select one item for filtering "purposes"
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Robert SchuttSoftware EngineerCommented:
If you mean by dropdown box that you don't want to see the editable part of a ComboBox, just set its DropDownStyle property to DropDownList. That will disable the edit box and just show the list, sort of like a select element in html.
vcurtisAuthor Commented:
Thanks Robert but I am new to this. Do you have a sample PLEASE
Robert SchuttSoftware EngineerCommented:
Sure do you mean code to do this dynamically or something like the picture below?
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

vcurtisAuthor Commented:
Éric MoreauSenior .Net ConsultantCommented:
So if you have this currently setup, what is not working for you?
vcurtisAuthor Commented:
Having trouble writing the code. I am green-fresh to Programming
Robert SchuttSoftware EngineerCommented:
If you wanna get our help, you're gonna have to be a bit more specific.

I'll try to get you started with a common example maybe you can say if this is close to what you're trying to accomplish and where you are stuck:
- fill a number of dropdown lists with key/value pairs in such a way that the user chooses a string value but the program can use the integer value from the database;
- use those integer values to set up a SQL query to find records in the database where those values are in the corresponding fields.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.