S
seban
Hi All
I have a multi user application.I am populating the data to a datagrid from
a dataset.If i had made the changes on it. I am updating it by using the
datatsets getchanges and sqldataadapters update methods.
Suppose 2 users say A and B opened the application in their respective
machines at the same time.Suppose A edited a column of a record and saved
successfully.But the user B didn't get to know this change that had occurred
and he is having the old data from the DB.Suppose user B edited another
column of the same record that user A has edited and when he updates it
calls the getchanges method of the dataset which contains old record and
when he updates, the same record is updated with the old values and only the
column that B edited has changed.The change made by A is updated back with
old value.How I can solve this !!!!!11
Thanks in advance
Seban
I have a multi user application.I am populating the data to a datagrid from
a dataset.If i had made the changes on it. I am updating it by using the
datatsets getchanges and sqldataadapters update methods.
Suppose 2 users say A and B opened the application in their respective
machines at the same time.Suppose A edited a column of a record and saved
successfully.But the user B didn't get to know this change that had occurred
and he is having the old data from the DB.Suppose user B edited another
column of the same record that user A has edited and when he updates it
calls the getchanges method of the dataset which contains old record and
when he updates, the same record is updated with the old values and only the
column that B edited has changed.The change made by A is updated back with
old value.How I can solve this !!!!!11
Thanks in advance
Seban