G
Grant Schenck
Hello,
This seems like it should be easy...
I have a listbox on a .NET form.
I add a new item to the list box.
How can I associated a separate data value?
Can I add (and retrieve) an arbitrary data value independent of the text
displayed?
I also tried creating an object and providing a ToString override. That did
let me add the item but I still didn't see a way to lookup based on
enumerating the list...
Thanks,
This seems like it should be easy...
I have a listbox on a .NET form.
I add a new item to the list box.
How can I associated a separate data value?
Can I add (and retrieve) an arbitrary data value independent of the text
displayed?
I also tried creating an object and providing a ToString override. That did
let me add the item but I still didn't see a way to lookup based on
enumerating the list...
Thanks,