J
johnb41
I have some data in a hashtable, and i need to bind it to a combobox.
I know it's impossible to bind a hashtable to a combobox. I need to
"bind" it so the combobox gets a DISPLAYMEMBER and a VALUEMEMBER. I
can't supply a valuemember by simply iterating through a hashtable and
adding items to a combobox.
How else can i get the same effect? What's the best way? If not a
hashtable, what type of object should I use? (i'm currently using a
hashtable because i need the key/value pair support that it has)
Thanks everyone for the help!
John
I know it's impossible to bind a hashtable to a combobox. I need to
"bind" it so the combobox gets a DISPLAYMEMBER and a VALUEMEMBER. I
can't supply a valuemember by simply iterating through a hashtable and
adding items to a combobox.
How else can i get the same effect? What's the best way? If not a
hashtable, what type of object should I use? (i'm currently using a
hashtable because i need the key/value pair support that it has)
Thanks everyone for the help!
John