Link to home
Start Free TrialLog in
Avatar of snazaire
snazaireFlag for United States of America

asked on

How to make a ComboBox accept a Text and Value for one added Item?

Hi All,
I am trying to see if I can get a C# combobox to behave like an html list where you can have a text displayed and a value for the item. For example...I want to present to the user a combobox list that shows Cat, Dog and Birds as Items (3 items total). However, when the user select the item "Cat" I want my application to choose the Value associated to the item "Cat", hypothetically "15".
I am not sure if I made myself clear...Please let me know
Stan
ASKER CERTIFIED SOLUTION
Avatar of Robert Schutt
Robert Schutt
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial