Concurrency violation

V

Vik

I create a dataadapter in code using an SQLCommand Builder and
TableMapping, and fill a dataset. After I add the rows to the datatable
(through a datagrid) and try to update/delete them, I get a Concurrency
violation error. If I close a form and open it again, everything works fine.
If I create the dataadapter in design mode, everything also works fine.
What may be wrong here?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,021
Latest member
AkilahJaim

Latest Threads

Top