DataSourceSelectArguments Constructor (Int32, Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 2.0
Return to top
Show: