DBConcurrencyException how to handle / solve?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: DBConcurrencyException how to handle / solve?

  1. #1
    Join Date
    Aug 2004
    Posts
    45

    DBConcurrencyException how to handle / solve?

    Phil,

    I would like to take my hat off to you for helping me with the Try .... Catch issue. Like I mentioned a couple of times during this conversation the reason for the Try .. Catch was to catch the DBConcurrencyException. Well I am catching it now and trying to sync up the database with the dataset within the application. My question is how can I go about this and also why would it be giving me this error when I am the only user hitting the database? This app is intended for only one user at a time not multi users so maybe I am doing something wrong.

    To help describe a little about my situation here is a little background. I currently use a datagrid to display and update the data table that the datagrid is bound to. I also allow the user to use their enter key to "save" the data and move to the next cell in the same row. This has caused some issues but being that my target market is big data entry users the "Enter" key is a must have feature. I have solved everything up until the DBConcurrencyException. It happens sporadically at the same spot (if that makes sense).
    Sincerely,
    Bryan

  2. #2
    Join Date
    Aug 2004
    Posts
    45
    I figured out how to get rid of the DBConcurrencyException. I took out some auto population of cells in the datagrid when a user inputs values into certain cells. The only problem is I need that auto calculation to exist.

    Any ideas?

    Thanks in advance.
    Sincerely,
    Bryan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center