Setting Hashtable as a DataSource for ListBox

i cant able to set the hashtable as a datasoruce for listbox....

1 Reply

GR Golda Rebecal Syncfusion Team January 22, 2007 03:05 PM UTC

Hi Vijay,

The DataSource property of the ListBox only accepts the objects that implement the IList or IListSource interfaces. Since the HashTable does not implement any one of these interfaces, we can not assign it as a data source for ListBox.

Regards,
Golda

Loader.
Up arrow icon