dbconcurrencyexception

Discussion in 'ASP .Net Web Services' started by Enrico Castagnola, Dec 15, 2003.

  1. Hi,
    I have a web service wich using data adapter's update method to update an
    SQL database. I use "catch dbconcurrencyexception" because either the row
    was changed by someone else or deleted by the dba, let's try get the updated
    row. However I do not receive error and update successful.
    Help me?
    Henry
     
    Enrico Castagnola, Dec 15, 2003
    #1
    1. Advertisements

  2. if you examine the generated SQL statement for the update, you may find some
    clue as to why your exception is not firing. . .

    For example, it could be that the Datarows are not marked as modified.
     
    Dino Chiesa [Microsoft], Dec 16, 2003
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.