StatementType Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies the type of SQL query to be used by the OleDbRowUpdatedEventArgs, OleDbRowUpdatingEventArgs, SqlRowUpdatedEventArgs, or SqlRowUpdatingEventArgs class.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

public enum StatementType

Member nameDescription
Batch

A SQL query that is a batch statement.

Delete

An SQL query that is a DELETE statement.

Insert

An SQL query that is an INSERT statement.

Select

An SQL query that is a SELECT statement.

Update

An SQL query that is an UPDATE statement.

.NET Framework
Available since 1.1
Return to top
Show: