DataSourceSelectArguments Constructor (String, Int32, Int32)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on 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


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.

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.

.NET Framework
Available since 2.0
Return to top