SqlDataSourceView.DeleteCommandType Property

 

Gets or sets a value indicating whether the text in the DeleteCommand property is a SQL statement or the name of a stored procedure.

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

public SqlDataSourceCommandType DeleteCommandType { get; set; }

Property Value

Type: System.Web.UI.WebControls.SqlDataSourceCommandType

One of the SqlDataSourceCommandType values. The default is the Text value.

Exception Condition
ArgumentOutOfRangeException

The selected value is not one of the SqlDataSourceCommandType values.

The value of the DeleteCommandType property is stored in view state.

.NET Framework
Available since 2.0
Return to top
Show: