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

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 int CurrentPageIndex {
	int get();
	void set(int value);
member CurrentPageIndex : int with get, set
Public Property CurrentPageIndex As Integer

Property Value


The index of the current page.

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

.NET Framework
Available since 1.1
Return to top