This topic has not yet been rated - Rate this topic

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
)

Parameters

startRowIndex
Type: System.Int32

The index of the data row that marks the beginning of data returned by a data retrieval operation.

maximumRows
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.5, 4, 3.5, 3.0, 2.0

Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.