ComponentOne ADO.NET DataExtender
C1DataView Relations / Interaction with an Underlying ADO.NET Dataset
In This Topic
    Interaction with an Underlying ADO.NET Dataset
    In This Topic

    Interaction between C1DataViewSet and an underlying dataset, either defined explicitly through the DataSet property or internally created based on the ConnectionString / ConnectionProvider property values, is absolutely clear in the sense that a rowset of C1DataView and of base DataTables (the ones referenced in the C1DataViewSet definition statement) is always in sync.

    When C1DataView performs data fetching from the database server, it actually fetches rows to the base DataTables and constructs its own rowset based on their rows.

    After this is done, the corrections made to C1DataView rows are immediately reflected in the base DataTables' rows, and vise versa you can edit (modify/add/delete) rows directly through DataTables, and those corrections will be reflected in rowsets of all C1DataViews based on modified DataTables.

    See Also