DataSourceCapabilities Enumeration
Provides a way to request processing beyond record retrieval for a data retrieval operation of a data source control.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
| Member name | Description | |
|---|---|---|
| None | Represents no paging, sorting, or total row count retrieval capabilities. | |
| Sort | Represents the capability to sort through the rows returned by an ExecuteSelect operation. | |
| Page | Represents the capability to page through the rows returned by an ExecuteSelect operation. | |
| RetrieveTotalRowCount | Represents the capability to retrieve a total row count of data, which corresponds to using the DataSourceOperation.SelectCount value. |
Data source controls use the DataSourceCapabilities enumeration in conjunction with the 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.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.