System.Web.UI.WebControls Namespace ListControl Class
Sets or retrieves the data source that populates the items of the list control.
The property is read/write with no default value.
Use this property to specify a source of data to populate a list control.
NOTE: The data source must be an object that implements the System.Collections.IEnumerable interface, such as a DataView, an ArrayList, or a Hashtable.
Once you've specified the data source to bind to the control, you can then specify which fields from the data source to bind to the ListItem.Text and ListItem.Value properties of each item in the control by setting the DataTextField and DataValueField properties, respectively.
ListControl Members DataMember DataTextField DataValueField
© 2000-2010 Rey Nuñez All rights reserved.If you have any question, comment or suggestion about this site, please send us a note
You can help support asp.net.ph