ComponentOne DataObjects for .NET
AcceptChanges Method (C1ExpressConnection)

C1.Data.Express.2 Assembly > C1.Data.Express Namespace > C1ExpressConnection Class : AcceptChanges Method
Commits all changes made to the data set since it was filled with data or the last time AcceptChanges or RejectChanges was called.
Syntax
'Declaration
 
Public Sub AcceptChanges() 
public void AcceptChanges()
Remarks
After this method the current state of all data set rows except deleted rows becomes also their original state.

Any C1.Data.C1DataRow objects still in edit mode successfully end their edits. The RowState property of each C1.Data.C1DataRow changes: Added and Modified rows become Unchanged, and Deleted rows are removed.

See Also

Reference

C1ExpressConnection Class
C1ExpressConnection Members