The DataViewManager Class

The DataViewManager Class

A DataViewManager allows you to centrally manage multiple DataView objects in a DataSet. A DataViewManager also allows you to create DataView objects on the fly at runtime. Table 13.6 shows some of the DataViewManager properties.

Table 13.6: DataViewManager PROPERTIES

PROPERTY

TYPE

DESCRIPTION

DataSet

DataSet

Gets or sets the DataSet used by your DataViewManager.

DataViewSettings

DataViewSettingCollection

Gets the DataViewSettingCollection for each DataTable in your DataSet. A DataViewSettingCollection gives you access to the properties of the DataView for each DataTable.

One of the DataViewManager methods is CreateDataView(). It creates a new DataView for the specified DataTable. The DataTable is passed as a parameter to the CreateDataView() method. Its return type is DataView.

One of the DataViewManager events is ListChanged. It fires when the list managed by a DataView in your DataViewManager changes. Its event handler is ListChangedEventHandler.




Mastering C# Database Programming
Mastering the SAP Business Information Warehouse: Leveraging the Business Intelligence Capabilities of SAP NetWeaver
ISBN: 0764596373
EAN: 2147483647
Year: 2003
Pages: 181

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net