We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Setting Hashtable as a DataSource for ListBox

Thread ID:





54006 Dec 27,2006 05:51 AM Jan 22,2007 10:05 AM Windows Forms 1
Tags: EditControl
Asked On December 27, 2006 05:51 AM

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

Golda Rebecal [Syncfusion]
Replied On January 22, 2007 10:05 AM

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.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.