Data changed?

vnarod

Well-known member
Joined
Mar 22, 2002
Messages
84
I have a dataset. User makes a change and needs to save the data. How can I check if data in database is the same or was changed by another user?
I am not using bound controls.
 
If you have selected to have optimistic concurrency set on your dataadapter then when one user attempts to write to a record that has been changed by another user since the first user opened it, then you can trap the exception DBConcurrencyException and deal with it accordingly
 
Back
Top