System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the data source.

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

public IEnumerable DataSource { get; set; }
public:
property IEnumerable^ DataSource {
	IEnumerable^ get();
	void set(IEnumerable^ value);
}
member DataSource : IEnumerable with get, set
Public Property DataSource As IEnumerable

Property Value

Type:

A System.CollectionsIEnumerable implemented object that represents the data source.

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

.NET Framework
Available since 1.1
Return to top