SqlDataSource.DeleteCommandType 属性

定义

获取或设置一个值,该值指示 DeleteCommand 属性中的文本是 SQL 语句还是存储过程的名称。Gets or sets a value indicating whether the text in the DeleteCommand property is an SQL statement or the name of a stored procedure.

public:
 property System::Web::UI::WebControls::SqlDataSourceCommandType DeleteCommandType { System::Web::UI::WebControls::SqlDataSourceCommandType get(); void set(System::Web::UI::WebControls::SqlDataSourceCommandType value); };
public System.Web.UI.WebControls.SqlDataSourceCommandType DeleteCommandType { get; set; }
member this.DeleteCommandType : System.Web.UI.WebControls.SqlDataSourceCommandType with get, set
Public Property DeleteCommandType As SqlDataSourceCommandType

属性值

SqlDataSourceCommandType 值之一。One of the SqlDataSourceCommandType values. 默认为 Text 值。The default is the Text value.

注解

属性委托SqlDataSourceView DeleteCommandType给与SqlDataSource控件相关联的对象的属性。 DeleteCommandTypeThe DeleteCommandType property delegates to the DeleteCommandType property of the SqlDataSourceView object that is associated with the SqlDataSource control.

适用于

另请参阅