Anti-Rich
Well-known member
hi all,
i have a question that has stumped me for quite some time
the listbox has a method SelectedValue which gets the value of the ValueMember property for that item (i think).
my question is, how do i actually set a value per item...
the reason i ask, is i want to add a name to a listbox, and then when i click the name i would set the id number of the person would be the 'value' of the item.
can someone please help me?
cheers
adam
i have a question that has stumped me for quite some time
the listbox has a method SelectedValue which gets the value of the ValueMember property for that item (i think).
my question is, how do i actually set a value per item...
the reason i ask, is i want to add a name to a listbox, and then when i click the name i would set the id number of the person would be the 'value' of the item.
can someone please help me?
cheers
adam