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:
property String^ SelectCommand {
	String^ get ();
	void set (String^ value);
}
/** @property */
public String get_SelectCommand ()

/** @property */
public void set_SelectCommand (String value)

public function get SelectCommand () : String

public function set SelectCommand (value : String)

Not applicable.

Property Value

An SQL query.

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

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: