Editare

Partajați prin


DataSourceSelectArguments Constructors

Definition

Initializes a new instance of the DataSourceSelectArguments class.

Overloads

DataSourceSelectArguments()

Initializes a new default instance of the DataSourceSelectArguments class.

DataSourceSelectArguments(String)

Initializes a new instance of the DataSourceSelectArguments class with the specified sort expression.

DataSourceSelectArguments(Int32, Int32)

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

DataSourceSelectArguments(String, Int32, Int32)

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

DataSourceSelectArguments()

Initializes a new default instance of the DataSourceSelectArguments class.

public:
 DataSourceSelectArguments();
public DataSourceSelectArguments ();
Public Sub New ()

Remarks

The parameterless constructor creates an instance of the class with the SortExpression property initialized to String.Empty and the StartRowIndex and MaximumRows properties initialized to zero.

See also

Applies to

DataSourceSelectArguments(String)

Initializes a new instance of the DataSourceSelectArguments class with the specified sort expression.

public:
 DataSourceSelectArguments(System::String ^ sortExpression);
public DataSourceSelectArguments (string sortExpression);
new System.Web.UI.DataSourceSelectArguments : string -> System.Web.UI.DataSourceSelectArguments
Public Sub New (sortExpression As String)

Parameters

sortExpression
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.

Remarks

The DataSourceSelectArguments(String) constructor creates an instance of the class with the SortExpression initialized with the specified expression and the StartRowIndex and MaximumRows properties initialized to zero.

Applies to

DataSourceSelectArguments(Int32, Int32)

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

public:
 DataSourceSelectArguments(int startRowIndex, int maximumRows);
public DataSourceSelectArguments (int startRowIndex, int maximumRows);
new System.Web.UI.DataSourceSelectArguments : int * int -> System.Web.UI.DataSourceSelectArguments
Public Sub New (startRowIndex As Integer, maximumRows As Integer)

Parameters

startRowIndex
Int32

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

maximumRows
Int32

The maximum number of rows that a data retrieval operation returns.

Remarks

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.

Applies to

DataSourceSelectArguments(String, Int32, Int32)

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

public:
 DataSourceSelectArguments(System::String ^ sortExpression, int startRowIndex, int maximumRows);
public DataSourceSelectArguments (string sortExpression, int startRowIndex, int maximumRows);
new System.Web.UI.DataSourceSelectArguments : string * int * int -> System.Web.UI.DataSourceSelectArguments
Public Sub New (sortExpression As String, startRowIndex As Integer, maximumRows As Integer)

Parameters

sortExpression
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
Int32

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

maximumRows
Int32

The maximum number of rows that a data retrieval operation returns.

Applies to