共用方式為


SqlDataSourceDesigner.SelectCommand 屬性

定義

取得或設定關聯 SqlDataSource 中的 SQL 查詢,以從基礎資料庫中選取資料。

public:
 property System::String ^ SelectCommand { System::String ^ get(); void set(System::String ^ value); };
public string SelectCommand { get; set; }
member this.SelectCommand : string with get, set
Public Property SelectCommand As String

屬性值

SQL 查詢。

備註

屬性 SelectCommand 會遮蔽相關聯控制項中的相同屬性,而且僅供內部使用。

適用於

另請參閱