DATAVIEW OBJECT
• The DataView class represents a customized view of DataTable
• The relationship between DataTable and DataView are governed by the rules of a well-known design pattern; the document/view model
• The DataTable ojects act as the document, whereas the DataView behaves as the view
• At any moment there can be multiple views for the same underlying data
• The view is implemented by maintaining a separate array with the indexes of the original rows that match the criteria set on the view
• By default, the table view is unfiltered and contains all the records included in the table
• A DataView does not contain copies of the table’s rows. It is limited to storing an array of indexes that is updated whenever any of the filter properties are set
No comments:
Post a Comment