Xpode.com        Click here to Print this article.

What is difference between DataSet.AcceptChanges and DataAdapter.Update

Each row has two states in dataset, current and original. AcceptChanges is used to update the dataset while Update method is used to update the database. GetChanges is used to get a copy of datatable containing all the changes made to it since last AcceptChanges.






Contributed by:
Guest
Guest user is that user who have done some activity on website without login. Activity contains commenting on any article, uploading an image on website etc.

Resourse address on xpode.com
http://www.xpode.com/Print.aspx?Articleid=201

Click here to go on website