SqlDataSourceDesigner.SelectCommand Property


Gets or sets the SQL query in the associated SqlDataSource for selecting data from the underlying database.

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

public string SelectCommand { get; set; }

Property Value

Type: System.String

An SQL query.

The SelectCommand property shadows the same property in the associated control, and is intended for internal use only.

.NET Framework
Available since 2.0
Return to top