System.Web.UI.DataSourceCapabilities Enumeration

Provides a way to request processing beyond record retrieval for a data retrieval operation of a data source control.

Syntax

[System.Flags]
public enum DataSourceCapabilities

Remarks

Data source controls use the System.Web.UI.DataSourceCapabilities enumeration in conjunction with the System.Web.UI.DataSourceSelectArguments class to request paging, sorting, or other select-specific capabilities when performing a data retrieval operation. The requested capabilities are checked against the actual capabilities of the data source control during the data retrieval operation, and if they do not match an exception is raised.

This enumeration supports the FlagsAttribute attribute, which enables you to use more than one member at a time.

Members

Member NameDescription
None

Represents no paging, sorting, or total row count retrieval capabilities.

Page

Represents the capability to page through the rows returned by an DataSourceView.ExecuteSelect(DataSourceSelectArguments) operation.

RetrieveTotalRowCount

Represents the capability to retrieve a total row count of data, which corresponds to using the DataSourceOperation.SelectCount value.

Sort

Represents the capability to sort through the rows returned by an DataSourceView.ExecuteSelect(DataSourceSelectArguments) operation.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0