語言

LinqDataSourceView.Where 屬性

定義

取得或設定一個值,指定記錄必須為何條件才能包含在檢索資料中。

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

屬性值

一個用來建立 Where 子句的字串。

備註

當你設定 Where 控制項的 LinqDataSource 屬性時,該值也會被設定在控制項的 LinqDataSourceView Where 屬性上。 如需詳細資訊,請參閱 LinqDataSource.Where 屬性 (Property)。

適用於

另請參閱