ComponentOne DataObjects for .NET
RejectChanges Method (C1ExpressConnection)

C1.Data.Express.2 Assembly > C1.Data.Express Namespace > C1ExpressConnection Class : RejectChanges Method
Rolls back 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 RejectChanges() 
public void RejectChanges()
Remarks
This method returns all data set rows to their original state.

When the RejectChanges method is called, any rows still in edit mode successfully cancel their edits. New rows are removed. Modified and deleted rows return back to their original state (C1.Data.DataRowStateEnum.Unchanged).

See Also

Reference

C1ExpressConnection Class
C1ExpressConnection Members