ObjectList::DataSource Property
.NET Framework (current version)
Gets or sets the data source of the list that is being bound. The default value is null. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
public: [BindableAttribute(true)] property Object^ DataSource { virtual Object^ get(); virtual void set(Object^ value); }
To bind a data source to a list, you must first use the control's DataBind method to ensure data binding. The data source can be of type IEnumerable or of type IListSource. If the data source is of type IListSource, you can use the DataMember field to specify which member to extract.
.NET Framework
Available since 1.1
Available since 1.1
IEnumerable
DataMember
IListSource
ObjectList Class
System.Web.UI.MobileControls Namespace
Introduction to the ObjectList Control
Creating Custom Mobile Controls
Show: