Export (0) Print
Expand All

PagedDataSource Class

Encapsulates the properties of the DataGrid control that allow it to perform paging. This class cannot be inherited.

For a list of all members of this type, see PagedDataSource Members.

System.Object
   System.Web.UI.WebControls.PagedDataSource

[Visual Basic]
NotInheritable Public Class PagedDataSource
   Implements ICollection, IEnumerable, ITypedList
[C#]
public sealed class PagedDataSource : ICollection, IEnumerable,
   ITypedList
[C++]
public __gc __sealed class PagedDataSource : public ICollection,
   IEnumerable, ITypedList
[JScript]
public class PagedDataSource implements ICollection, IEnumerable,
   ITypedList

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

The PagedDataSource class encapsulates the properties of the DataGrid control that allow the DataGrid to perform paging. This class is primarily used by control developers.

This class uses the best available interface to enumerate over the data belonging to the current page. If the underlying data source supports indexed access (like System.Array and System.Collections.IList), this class uses it. Otherwise, it uses System.Collections.IEnumerable.

For a list of initial property values for an instance of PagedDataSource, see the PagedDataSource constructor.

Requirements

Namespace: System.Web.UI.WebControls

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

Assembly: System.Web (in System.Web.dll)

See Also

PagedDataSource Members | System.Web.UI.WebControls Namespace | DataGrid | System.Collections.ICollection | System.Array | System.Collections.IList | System.Collections.IEnumerable

Show:
© 2015 Microsoft