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 - 11 Jun 2005 20:19 GMT
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