-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: AjaySingala[Synergetics]
Message 3 in Discussion

Yogesh & Kalpesh,

If 2 users try to update the same record from a DataSet using the DataSet.Update() 
method, it will update the record with the first request, but for the next one, it 
will throw a "Concurrency violation" exception. As a result not updating it.

Kalpesh: U mentioned that it will update the remaining records in the DataSet. But 
that will depend on what kind of Transaction Handling U R doing.

To avoid such concurrency issues, you can implement your own custom routine where in 
you check if the record has been changed and then appropriately take an action.

You can find out what the "original" data was for a table in a DataSet by using the 
"GetChanges" method of the table.

HTH.

Regards,

Ajay Singala [Synergetics].


-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to