System.Web.UI.WebControls.SqlDataSourceCommandType Enumeration

Describes the type of SQL command used by the System.Web.UI.WebControls.SqlDataSource and System.Web.UI.WebControls.AccessDataSource controls when performing a database operation.

Syntax

public enum SqlDataSourceCommandType

Remarks

The System.Web.UI.WebControls.SqlDataSourceCommandType enumeration is used by the System.Web.UI.WebControls.SqlDataSource and System.Web.UI.WebControls.AccessDataSource controls to describe the type of SQL command contained in the SqlDataSource.SelectCommand, SqlDataSource.InsertCommand, SqlDataSource.UpdateCommand, and SqlDataSource.DeleteCommand properties. The SqlDataSourceCommandType.Text value indicates that the text is a SQL query or command string while the SqlDataSourceCommandType.StoredProcedure value indicates that the text is the name of a stored procedure.

Members

Member NameDescription
StoredProcedure

The text contained in a corresponding text property is the name of a stored procedure.

Text

The text contained in a corresponding text property is a SQL query or command.

Requirements

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