Update and TimeStamp Question

T

Timothy

Hi,

I am using a timestamp column to manage my concurrency on updating. My
question is on the update should I create a new timestamp colmn on the
server side or the client side? And how would I accomplish that?

Thanks
 
D

David Sceppa

Timothy,

If your application will give the user the ability to modify the same
DataRow object multiple times, make sure you fetch the new server-generated
timestamp value after a successful update. Otherwise, the timestamp column
in the DataRow and the database row will be out of synch and subsequent
update attempts will fail.

I hope this information proves helpful.

David Sceppa
Microsoft
This posting is provided "AS IS" with no warranties,
and confers no rights. You assume all risk for your use.
© 2004 Microsoft Corporation. All rights reserved.
 

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

Top