SqlDataSourceDesigner.SelectCommand 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 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
Show: