System.Data.DataView.RowFilter Property

Gets or sets the expression used to filter which rows are viewed in the System.Data.DataView.

Syntax

[System.ComponentModel.DefaultValue("")]
public virtual string RowFilter { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

To form a DataView.RowFilter value, specify the name of a column followed by an operator and a value to filter on. The value must be in quotation marks. For example:

"LastName = 'Smith'"

See the DataColumn.Expression property of the System.Data.DataColumn class for more information.

To return only those columns with null values, use the following expression:

"Isnull(Col1,'Null Column') = 'Null Column'"

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0