|
|
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.
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.
|
|