snazaire
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.