Gets or sets the data source that provides data for populating the list.
Assembly: System.Web (in System.Web.dll)
[<BindableAttribute(true)>] abstract DataSource : Object with get, set [<BindableAttribute(true)>] override DataSource : Object with get, set
Use this property to specify the source of data to populate the Repeater control. The can be any System.Collections.IEnumerable collection such as a System.Data.DataView for accessing databases, a System.Collections.ArrayList, or an array, or an IListSource object. When you set the property you must manually write the code to bind to the data source.
If the data source specified by the DataMember property to specify the specific source to bind to the control. For example, if you have a System.Data.DataSet with multiple tables, you must specify which table to bind to the control. After you have specified the data source, use the DataBind method to bind the data source to the control.property contains multiple sources of data, use the
Alternately, you can use the DataSourceID property to automatically bind to a data source represented by a data source control. When you set the DataSourceID property, the Repeater control automatically binds to the specified data source control. You do not need to write code that explicitly calls the DataBind method unless you dynamically change properties of the Repeater control.
Available since 1.1