ADO.NET | |
By invoking AcceptChanges on the DataSet causes AcceptChanges to be called on each table with in DataSet. Calling AcceptChanges at the DataTable level causes the AcceptChanges method for each DataRow to be called. When you call AcceptChanges on the DataSet, any DataRow objects still in edit-mode successfully end their edits. The RowState property of each DataRow also changes; Added and Modified rows become Unchanged, and Deleted rows are removed. | |
ADO.NET |
What happens when you invoke Dataset’s AcceptChanges() method?
Posted by
Ramu