In the web listbox, there isa command to add an item with a seperate value,
listbox1.item.add(new listitem(VALUE,"TEXT"
)
But I can not find anything like it in the windows form listbox.
It is possible to do this through databinding, but i am not using a dataset, i want to add the items through code.
so that say a customers name is displayed, but the value it the customerID.
Any one managed this?
Cheers
listbox1.item.add(new listitem(VALUE,"TEXT"
But I can not find anything like it in the windows form listbox.
It is possible to do this through databinding, but i am not using a dataset, i want to add the items through code.
so that say a customers name is displayed, but the value it the customerID.
Any one managed this?
Cheers