From: John on
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


From: Cor Ligthert[MVP] on
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)





"John" <info(a)nospam.infovis.co.uk> wrote in message
news:eq4X#NCuKHA.4220(a)TK2MSFTNGP05.phx.gbl...
> 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
>