SqlDataSource::UpdateCommandType Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value indicating whether the text in the UpdateCommand 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:
property SqlDataSourceCommandType UpdateCommandType {
	SqlDataSourceCommandType get();
	void set(SqlDataSourceCommandType value);
}

Property Value

Type: System.Web.UI.WebControls::SqlDataSourceCommandType

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

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

.NET Framework
Available since 2.0
Return to top
Show: