Concurrency violation handling in data adapter

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

When one updates an adapter like DataAdapter.Update(DataTable) and one gets
the concurrency violation error, what is the recommended method to resolve
the violation gracefully? A code segment would be very much appreciated.

Many Thanks

Regards
 
There is no default method, this depends completely from the data that gives
the currency violation.

If it is by instance a value, then it is most common to give a message that
it is not done and to start new.

This is the not nice part of programming, I don't think that you get simple
snippets for instance because that it can give big money risks.

(Ignoring concurrency is a standard example how fraud can be done and has to
be protected)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top