C
Carlos Hernandez
I am using datasets and the command builder to update my database. It works
fine, but if there is an exception of any kind after and update of one of my
datasets, then the dataset state is leaved in unchanged, and the next time I
save I get an DBConcurrencyValidationException. What I do in the insert
method of my class, is to detach this row, and attched it again. But in the
update method what can I do?, If I remove and add the row, the stated will
be added, and this will try to insert the data instead of updating..
Thanks in advance for your help.
fine, but if there is an exception of any kind after and update of one of my
datasets, then the dataset state is leaved in unchanged, and the next time I
save I get an DBConcurrencyValidationException. What I do in the insert
method of my class, is to detach this row, and attched it again. But in the
update method what can I do?, If I remove and add the row, the stated will
be added, and this will try to insert the data instead of updating..
Thanks in advance for your help.