System.Web.UI.WebControls.GridView.PageIndex Property

Gets or sets the index of the currently displayed page.

Syntax

[System.ComponentModel.DefaultValue(0)]
[System.ComponentModel.Browsable(true)]
public virtual int PageIndex { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

When the paging feature is enabled (by setting the GridView.AllowPaging property to true), use the GridView.PageIndex property to determine the index of the currently displayed page. You can also use this property to programmatically change the displayed page.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0