DatasetTable.Update Property
The value of the UpdateExecuted property is changed when the operation is concluded.
C# Example:
if (@Dataset.Table.table1.Update.Equals(0)) @Dataset.Table.table1.Update = 1; else @Dataset.Table.table1.Update = 0;