This documentation is archived and is not being maintained.
DataView::RowFilter Property
Visual Studio 2010
Gets or sets the expression used to filter which rows are viewed in the DataView.
Assembly: System.Data (in System.Data.dll)
Property Value
Type: System::StringA string that specifies how rows are to be filtered. For more information, see the Remarks section.
To form a 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 Expression property of the DataColumn class for more information.
To return only those columns with null values, use the following expression:
"Isnull(Col1,'Null Column') = 'Null Column'"
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: