DataSource Property (Common)
Sets or returns the data source of the list that is being bound. The default value is null.
public virtual Object DataSource {
get,
set
}
Remarks
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.
See Also
Applies to: List Class | ObjectList Class | SelectionList Class