• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 363
  • Last Modified:

asp.net vb.net AcceptChanges metodh is necessary

when i change any column in a datatable->datarow it´s necessary use AcceptChanges metodh.
For ex. i need modify a datatable column (quantity), in an existent row, the datatable belongs to a dataset. I don´t need this table to modify database.  In my code i do not use AcceptChanges and all
seems work well.
1 Solution
Calling AcceptChanges is similar to calling Update i think. It causes the AcceptChanges method to be executed on each datatable and each datarow within the dataset.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now