carlosmonte
asked on
tableAdapter Update only SQL table fields that where modified in web page
Hi,
I'm designing a web application where different users could be updating the same records.
I would like to make sure that only the changed fields by one user are updated one by one so there is no concurrency violation.
What is the best method to design this?
Its my first time working with SQL 2005 so i'm not sure about the tableAdapters "optimistic concurrency" option. Will this take care of it by itself?
thank you
I'm designing a web application where different users could be updating the same records.
I would like to make sure that only the changed fields by one user are updated one by one so there is no concurrency violation.
What is the best method to design this?
Its my first time working with SQL 2005 so i'm not sure about the tableAdapters "optimistic concurrency" option. Will this take care of it by itself?
thank you
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
these are good comments but i want to research these options first.
Experts, is it ok if i leave it open a little longer? thanks
Experts, is it ok if i leave it open a little longer? thanks
ASKER
In your suggestion of locking using a field in the DB what happens if the app crashes on a user that is in edit mode in a page. this means the record will stay locked for other users.
how could this be avoided?