SqlDataSourceView.DeleteCommandType 属性
定义
获取或设置一个值,该值指示 DeleteCommand 属性中的文本是 SQL 语句还是存储过程的名称。Gets or sets a value indicating whether the text in the DeleteCommand property is a 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.
例外
所选值不是 SqlDataSourceCommandType 值之一。The selected value is not one of the SqlDataSourceCommandType values.
注解
属性的值 DeleteCommandType 存储在视图状态中。The value of the DeleteCommandType property is stored in view state.