SqlDataSourceView.UpdateCommandType Proprietà

Definizione

Ottiene o imposta un valore indicante se il testo nella proprietà UpdateCommand è un'istruzione SQL o il nome di una stored procedure.

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

Valore della proprietà

SqlDataSourceCommandType

Uno dei valori di SqlDataSourceCommandType. Il valore predefinito è il valore Text.

Eccezioni

Il valore selezionato non è uno dei valori di SqlDataSourceCommandType.

Commenti

Il valore della UpdateCommandType proprietà viene archiviato nello stato di visualizzazione.

Si applica a

Vedi anche