Assigning a "tag" to a listbox item

  • Thread starter Thread starter Guest
  • Start date Start date
One technique that I use is to create a new class with the overridden
"ToString" property set to return what I want to display and a Tag property.
I then add instances of this class to the listbox items collection.
 
Hi,

I have used a hashtable for this. Use the listbox item as the key
for the data.

Ken
 
What I've done is attach an ArrayList to the tag. You can then have a
one-to-one correspondence between the listbox items and the ArrayList.
 
Thanks very much Herfried. Do you know of a way to get Google (or some other
service) to translate your web pages? They look quite interesting...

Dan
 
Dan said:
Thanks very much Herfried. Do you know of a way to get Google (or some
other
service) to translate your web pages? They look quite interesting...

I feel sorry, but AFAIS Google's automatic translation service doesn't work
very well with my website. Maybe it's caused by the XHTML markup I use.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top