This documentation is archived and is not being maintained.

PagedDataSource.CurrentPageIndex Property

Gets or sets the index of the current page.

[Visual Basic]
Public Property CurrentPageIndex As Integer
[C#]
public int CurrentPageIndex {get; set;}
[C++]
public: __property int get_CurrentPageIndex();
public: __property void set_CurrentPageIndex(int);
[JScript]
public function get CurrentPageIndex() : int;
public function set CurrentPageIndex(int);

Property Value

The index of the current page.

Remarks

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

Requirements

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

See Also

PagedDataSource Class | PagedDataSource Members | System.Web.UI.WebControls Namespace

Show: