This documentation is archived and is not being maintained.

DataSourceSelectArguments Constructor (Int32, Int32)

Initializes a new instance of the DataSourceSelectArguments class with the specified starting position and number of rows to return for paging scenarios.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public DataSourceSelectArguments(
	int startRowIndex,
	int maximumRows


Type: System.Int32
The index of the data row that marks the beginning of data returned by a data retrieval operation.
Type: System.Int32
The maximum number of rows that a data retrieval operation returns.

The DataSourceSelectArguments(Int32, Int32) constructor creates an instance of the class with the SortExpression initialized to String.Empty and the StartRowIndex and MaximumRows properties initialized to the values provided for the startRowIndex and maximumRows parameters.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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