System.Web.UI.WebControls.GridView.PageSize Property

Gets or sets the number of records to display on a page in a System.Web.UI.WebControls.GridView control.

Syntax

[System.ComponentModel.DefaultValue(10)]
public virtual int PageSize { 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.PageSize property to specify the number of records to display on a single page.

Requirements

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