DataSource Property

PagedDataSource.DataSource Property


Gets or sets the data source.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public IEnumerable DataSource { get; set; }

Property Value

Type: System.Collections.IEnumerable

A System.Collections.IEnumerable implemented object that represents the data source.

Use the DataSource property to specify or determine the data source being paged.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft