System.Web.UI.DataSourceSelectArguments Members

The members of System.Web.UI.DataSourceSelectArguments are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new default instance of the System.Web.UI.DataSourceSelectArguments class.

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

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

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

Public Properties

[read-only]
static
EmptyDataSourceSelectArguments.

Gets a System.Web.UI.DataSourceSelectArguments object with the sort expression set to string.Empty.

MaximumRowsint.

Gets or sets a value that represents the maximum number of data rows that a data source control returns for a data retrieval operation.

RetrieveTotalRowCountbool.

Gets or sets a value indicating whether a data source control should retrieve a count of all the data rows during a data retrieval operation.

SortExpressionstring.

Gets or sets an expression that the data source view uses to sort the data retrieved by the DataSourceView.Select(DataSourceSelectArguments, DataSourceViewSelectCallback) method.

StartRowIndexint.

Gets or sets a value that represents the starting position the data source control should use when retrieving data rows during a data retrieval operation.

TotalRowCountint.

Gets or sets the number of rows retrieved during a data retrieval operation.

Public Methods

AddSupportedCapabilities(DataSourceCapabilities)

Adds one capability to the System.Web.UI.DataSourceSelectArguments instance, which is used to compare supported capabilities and requested capabilities.

override
Equals(object) : bool

Determines whether the specified System.Web.UI.DataSourceSelectArguments instance is equal to the current instance.

override
GetHashCode() : int

Returns the hash code for the System.Web.UI.DataSourceSelectArguments type.

RaiseUnsupportedCapabilitiesError(DataSourceView)

Compares the capabilities requested for an DataSourceView.ExecuteSelect(DataSourceSelectArguments) operation against those that the specified data source view supports.