I am using winforms 2.0 and I was wondering what is the best way to do this.
I am populating a listbox via a stored procedure, but as of now only the display member field is showing up. In Microsoft access the listbox usually contains the primary key field and you hide it, this way you know which record the user selects.
Does the listbox in winforms have similar approach or is there a better way to do this. Can you show me sample code?
Thanks,
Jen
I am populating a listbox via a stored procedure, but as of now only the display member field is showing up. In Microsoft access the listbox usually contains the primary key field and you hide it, this way you know which record the user selects.
Does the listbox in winforms have similar approach or is there a better way to do this. Can you show me sample code?
Thanks,
Jen