LinqDataSourceView.Where 属性

定义

获取或设置一个值,该值指定要将记录包含在检索到的数据中必须为真的条件。Gets or sets a value that specifies what conditions must be true for a record to be included in the retrieved data.

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

属性值

String

用于创建 Where 子句的字符串。A string that is used to create the Where clause.

注解

当设置控件的 Where 属性时 LinqDataSource ,也会为控件的 Where 属性设置该值 LinqDataSourceViewWhen you set the Where property of the LinqDataSource control, that value is also set for the Where property of the LinqDataSourceView control. 有关更多信息,请参见 LinqDataSource.Where 属性。For more information, see the LinqDataSource.Where property.

适用于