p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning ASP.NET 4 : in C# and VB (http://p2p.wrox.com/forumdisplay.php?f=560)
-   -   Optimistic Concurrency check box (http://p2p.wrox.com/showthread.php?t=85826)

morteza November 28th, 2011 02:10 AM

Optimistic Concurrency check box
 
Hi there,
I have question about 'Optimistic Concurrency check box' in SqlDataSource Advance option. Can anyone elaborate more in details what it does.
Thank's

Imar November 28th, 2011 03:12 AM

When you check that option, VWD generates a WHERE statement that includes all columns and their original values. This way, the UPDATE statement won't update a record if someone else has updated any of those columns since the last time you queried the record from the database.

For more info: http://www.google.nl/#sclient=psy-ab...+SqlDataSource

Cheers,

Imar


All times are GMT -4. The time now is 05:16 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.