Tải bản đầy đủ (.pdf) (1 trang)

Tài liệu The DataViewManager Class pptx

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (25.5 KB, 1 trang )


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.



×