jump_912 Posted July 24, 2005 Posted July 24, 2005 hi guys, i'm new to ado.net. i'm just wondering if i bind a dataset to some control - say a form to edit patient's information - and i edited ONLY the name field. then i pass the dataset back to the adapter to update. will the dataset update the whole row? or just the modified field(s)? the latter effect is desired since the application i'm working on is a realtime multiuser application. the situation i'm trying to avoid is say: i have dataset of field A and field B. 2 users viewing exact same record at the moment. user 1 edit field A and user 2 edit field B. then user 1 update the data. when user 2 update the data as well, if the formal effect take place, field A will be reset to original while the latter will not. thanks in advance. :) Quote
Joe Mamma Posted July 25, 2005 Posted July 25, 2005 look up "optimistic concurrency" in help Quote Joe Mamma Amendment 4: The right of the people to be secure in their persons, houses, papers, and effects, against unreasonable searches and seizures, shall not be violated, and no warrants shall issue, but upon probable cause, supported by oath or affirmation, and particularly describing the place to be searched, and the persons or things to be seized. Amendment 9: The enumeration in the Constitution, of certain rights, shall not be construed to deny or disparage others retained by the people.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.