472,133 Members | 1,062 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,133 software developers and data experts.

question regarding rejectchanges of sqldataadapter.

Hi all
i am having application which is modifying two tables of database.

My problem is sometime my applicatiion is giving error 'concurrency
violation'.

My two tables are related to each other, mean at a time i am setting
one flag of both the table.

Whenever i am callig update on first table, changes are getting stored
in databse.
But when i am caling update on second table it is giving me above
mention error.
So what i want is if second update give me error reverse back changes
which i made in first table.

Willl rejectchange on adapter whill rever changes after calling update
of dataadapter.

If not what is other way of doing this,

any help will be truely apprecaited. I am totally blank about this
problem.

Thanks in advance.

Nov 25 '05 #1
0 880

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.