GridView.PageSize Property
.NET Framework 3.0
Gets or sets the number of records to display on a page in a GridView control.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
GridView Members
System.Web.UI.WebControls Namespace
System.Web.UI.WebControls.PagerSettings
System.Web.UI.WebControls.TableItemStyle
GridView.AllowPaging Property
GridView.PageCount Property
GridView.PageIndex Property
GridView.PagerSettings Property
GridView.PagerStyle Property
GridView.PagerTemplate Property
PageIndexChanged
PageIndexChanging
Assembly: System.Web (in system.web.dll)
When the paging feature is enabled (by setting the AllowPaging property to true), use the PageSize property to specify the number of records to display on a single page.
| Topic | Location |
|---|---|
| How to: Enable Default Paging in the GridView Web Server Control | Building ASP .NET Web Applications in Visual Studio |
Reference
GridView ClassGridView Members
System.Web.UI.WebControls Namespace
System.Web.UI.WebControls.PagerSettings
System.Web.UI.WebControls.TableItemStyle
GridView.AllowPaging Property
GridView.PageCount Property
GridView.PageIndex Property
GridView.PagerSettings Property
GridView.PagerStyle Property
GridView.PagerTemplate Property
PageIndexChanged
PageIndexChanging
Community Additions
ADD
Show: