Concurency Issue
-
Hi Friends Am in a bit of a pickle, and I now don't know how to fix this. I am trying to update the data in my dataset, and I am getting a concurrency violation. The application I am developing is to be used by, only one user, and there is no way that some one else could be using the dataset. What could be the cause of this? Thanks , I hope u will be able to help me.
-
Hi Friends Am in a bit of a pickle, and I now don't know how to fix this. I am trying to update the data in my dataset, and I am getting a concurrency violation. The application I am developing is to be used by, only one user, and there is no way that some one else could be using the dataset. What could be the cause of this? Thanks , I hope u will be able to help me.
Concurrency isn't just a multiuser issue. There are more than a couple of ways your own code can think it's updating records that it's not. The most common of which happens when your code goes to update a single record (such as when using the DataAdapter or TableAdapter), the number of affected records comes back 0 or greater than 1, because your table's primary key isn't setup properly, or if it doesn't even have one.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007