Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET Database and Reporting > Concurrency error?


Reply
 
Thread Tools Display Modes
  #1  
Old 02-15-2011, 11:36 AM
willdev willdev is offline
Newcomer
 
Join Date: Feb 2011
Posts: 5
Default Concurrency error?


Hi, Currently trying to create my project for my a levels. I'm struggerling to get to grips with running vb.NET with mysql (using .net connector).

The simple commands I need are,
Connect to mysql database - got that working
Show information from tables in textbox
Edit information once information is shown in textbox

I have setup all my tables already

I have this code running on this table
however I just get the error:
Concurrency violation: the UpdateCommand affected 0 of the expected 1 records.

Any help would be appreciated as this project gets me into university!

Thanks
Reply With Quote
  #2  
Old 03-10-2011, 07:47 AM
jpalatine jpalatine is offline
Centurion
 
Join Date: Oct 2003
Posts: 104
Default

Try it without the acceptchanges. That is usually a problem. In the type of processing you are doing.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->