Groups | Blog | Home
all groups > dotnet windows forms databinding > june 2005 >

dotnet windows forms databinding : concurrency violation: The update Command affected 0 records


mf_sina
6/9/2005 11:01:05 AM
Hi there,
I have a form with some textboxes connected to an access database(*.mdb)
now when i add new records or delete a record , the save button works and
updates my data.
after it when i navigate through records and when i edit a record (not
deleting it), vb .net prompts something like: << concurrency violation: the
updateCommand affected 0 records>>
here's my code for update button:
-----------------------
me.bindingcontext(dataset1,"tbldata").endcurrentedit
me.oledataadaptor1.update(dataset1,"tbldata")
------------------------
I welcome any help.
best wishes

Rashmi
6/11/2005 12:19:07 PM
I had this similar problem using Data Access Application blocks from
enterprise library. Any way: Here are few links I found :

http://msdn.microsoft.com/msdnmag/issues/04/09/DataPoints/default.aspx

http://msdn.microsoft.com/msdnmag/issues/03/04/DataConcurrency/default.aspx

http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q310375


Regards,
Rashmi
AddThis Social Bookmark Button