DataView::RowStateFilter Property
Gets or sets the row state filter used in the DataView.
Assembly: System.Data (in System.Data.dll)
Only rows that have been deleted by using the Delete method will have their RowStateFilter value set to Deleted. Those rows added using the AddNew method will similarly have the property set to Added.
Note |
|---|
Using the Remove method of the DataRowCollection class does not mean that a row will be marked as Deleted. Use the Delete method instead to make sure that such rows can be viewed in the DataView. |
New rows will also be visible when the RowStateFilter is set to ModifiedCurrent or CurrentRows.
Deleted rows will also be visible when the RowStateFilter is set to ModifiedOriginal and OriginalRows.
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.
Note