System.Data.DataView.RowFilter Property

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


public virtual string RowFilter { set; get; }


Documentation for this section has not yet been entered.


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'"


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