Two values in a ComboBox
Hi,
There was a property in VB called ItemData which is a integer value associated with each item. This allowed me to show a Description of a Field as the Item and the ID of the Field as ItemData(Not visble).
E.G.
EmployeeName Employee_ID
Danial 1
Joe 2
Robert 3
How can i achive this in C#, i dont want to display the Employee ID to the user, is there any way i can Extend the ComboBox and add an extra property?
Thanks for your help.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

sacrespRank #1,944 · 754 reputationPosted Feb 29, 2004, 10:56 AM EST
datique19 reputationPosted Feb 29, 2004, 1:43 PM EST