Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DeleteCommandType Property

SqlDataSource.DeleteCommandType Property

Gets or sets a value indicating whether the text in the DeleteCommand property is an 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.

The DeleteCommandType property delegates to the DeleteCommandType property of the SqlDataSourceView object that is associated with the SqlDataSource control.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft