Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
DataPager Class
 MaximumRows Property
.NET Framework Class Library
DataPager..::.MaximumRows Property

Gets the maximum number of records that are displayed for each page of data.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)
Visual Basic (Declaration)
<BrowsableAttribute(False)> _
Public ReadOnly Property MaximumRows As Integer
Visual Basic (Usage)
Dim instance As DataPager
Dim value As Integer

value = instance.MaximumRows
C#
[BrowsableAttribute(false)]
public int MaximumRows { get; }
Visual C++
[BrowsableAttribute(false)]
public:
property int MaximumRows {
    int get ();
}
JScript
public function get MaximumRows () : int

Property Value

Type: System..::.Int32
The maximum number of records that are displayed for each page of data.

Use the MaximumRows property to retrieve the size of a page of data. The MaximumRows property contains the same value as the PageSize property. You can change the value of this property by setting the PageSize property.

Windows Vista, Windows XP SP2, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker