System.Web.UI.DataSourceOperation Enumeration

Specifies a data operation performed by a data source control.

Syntax

public enum DataSourceOperation

Remarks

The System.Web.UI.DataSourceOperation enumeration represents the actions that a data source control can perform on its underlying data. Data source controls such as System.Web.UI.WebControls.SqlDataSource and System.Web.UI.WebControls.ObjectDataSource use these enumeration values to track the type of operation being performed.

The five major data source operations are represented by the System.Web.UI.DataSourceOperation enumeration. The DataSourceOperation.Select and DataSourceOperation.SelectCount values indicate operations that retrieve data from an underlying data source, while the DataSourceOperation.Delete, DataSourceOperation.Insert, and DataSourceOperation.Update values indicate operations that modify data.

Members

Member NameDescription
Delete

The operation deletes records from a data source.

Insert

The operation inserts one or more records into a data source.

Select

The operation retrieves records from a data source.

SelectCount

The operation retrieves the total number of records for a query from the data source.

Update

The operation updates records in a data source.

Requirements

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