datique

datique

  • NA
  • 11
  • 0

Two values in a ComboBox

Feb 28 2004 3:35 PM
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.

Answers (2)