Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Data Binding / June 2005

Tip: Looking for answers? Try searching our database.

concurrency violation: The update Command affected 0 records

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mf_sina - 09 Jun 2005 07:31 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.