.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)
Syntax

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.
Remarks

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.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, 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.
Version Information

.NET Framework

Supported in: 3.5
See Also

Reference

Other Resources

Tags :


Page view tracker