Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

DataSourceOperation Enumeration

Specifies a data operation performed by a data source control.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public enum DataSourceOperation

Member nameDescription
DeleteThe operation deletes records from a data source.
InsertThe operation inserts one or more records into a data source.
SelectThe operation retrieves records from a data source.
UpdateThe operation updates records in a data source.
SelectCountThe operation retrieves the total number of records for a query from the data source.

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

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

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2015 Microsoft