D
Dave
Hi all,
Is it possible to populate a listbox from a hashtable (complexbind) where
the ValueMember of the listbox maps to the "key" member of the hashtable AND
the DisplayMember of the listbox maps to the "value" member of the
hashtable?
I found that it is impossible to use a hashtable as a listbox datasource
directly (from trial and error) and tried DirectCast-ing to an arraylist
without any success. Before I spend anymore time in vain complex binding, I
thought I'd ask to see if anyone has figured a method of doing so.
D
Is it possible to populate a listbox from a hashtable (complexbind) where
the ValueMember of the listbox maps to the "key" member of the hashtable AND
the DisplayMember of the listbox maps to the "value" member of the
hashtable?
I found that it is impossible to use a hashtable as a listbox datasource
directly (from trial and error) and tried DirectCast-ing to an arraylist
without any success. Before I spend anymore time in vain complex binding, I
thought I'd ask to see if anyone has figured a method of doing so.
D