Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft