SelectionList::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 either be of type IEnumerable, or it can be 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
SelectionList Class
System.Web.UI.MobileControls Namespace
ASP.NET Data Access Content Map
Introduction to the SelectionList Control
Creating New Controls
Creating Custom Mobile Controls
Show: