Encapsulates the paging-related properties of a data-bound control (such as System.Web.UI.WebControls.DataGrid, System.Web.UI.WebControls.GridView, System.Web.UI.WebControls.DetailsView, and System.Web.UI.WebControls.FormView) that allow it to perform paging. This class cannot be inherited.
See Also: PagedDataSource Members
The System.Web.UI.WebControls.PagedDataSource class encapsulates the properties that allow data-source controls, such as the System.Web.UI.WebControls.DataGrid, System.Web.UI.WebControls.GridView, System.Web.UI.WebControls.DetailsView, and System.Web.UI.WebControls.FormView, to perform paging. This class is used by control developers when providing paging support to a custom data-bound control.
This class uses the best available method to enumerate over the data belonging to the current page. If the underlying data source supports indexed access (such as Array and IList), this class uses it. Otherwise, it uses the enumerator created by the IEnumerable.GetEnumerator method.
For a list of initial property values for an instance of System.Web.UI.WebControls.PagedDataSource, see the PagedDataSource.#ctor constructor.