Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CurrentPageIndex Property

PagedDataSource.CurrentPageIndex Property

Gets or sets the index of the current page.

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

public int CurrentPageIndex { get; set; }

Property Value

Type: System.Int32
The index of the current page.

Use the CurrentPageIndex property to specify or determine the index of the current page.

.NET Framework

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