Hello Laura,
The MSDN document provides a detailed sample about the technique of
verifying all the original column values.
For the technique about using timestamp column, you may refer the following
KB article:
http://support.microsoft.com/kb/309489 [HOW TO: Use a TimeStamp Column to Detect Update Collisions in ADO.NET with
Visual Basic .NET]
As far as I know, verifying TimeStamp filed is the simplest way for
Optimistic Concurrency.
Peter Bromberg has an article about Optimistic Concurrency Updating logic.
According to this document, another choice for us is to include the Primary
Key Columns and Modified Columns in WHERE case. But, I'm not sure if that
is suitable for your case.
http://www.eggheadcafe.com/articles/20050719.asp [ADO.NET: Optimistic Concurrency Updating Logic]
Hope this helps. Please don't' hesitate to let me know if there is anything
we can help with. We are glad to assist you.
Best regards,
Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.