DataSourceSelectArguments Constructor (String, 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 sort expression, starting position, and number of rows to return for paging scenarios.

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

public DataSourceSelectArguments(
	string sortExpression,
	int startRowIndex,
	int maximumRows
)

Parameters

sortExpression
Type: System.String

A sort expression that data source controls use to sort the result of a data retrieval operation before the result is returned to a caller.

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.

.NET Framework
Available since 2.0
Return to top
Show: