DataSourceOperation Enumeration (System.Web.UI)

Switch View :
ScriptFree
.NET Framework Class Library
DataSourceOperation Enumeration

Specifies a data operation performed by a data source control.

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

Visual Basic (Declaration)
Public Enumeration DataSourceOperation
Visual Basic (Usage)
Dim instance As DataSourceOperation
C#
public enum DataSourceOperation
Visual C++
public enum class DataSourceOperation
JScript
public enum DataSourceOperation
Members

Member name Description
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.
Update The operation updates records in a data source.
SelectCount The operation retrieves the total number of records for a query from the data source.
Remarks

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.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0
See Also

Reference