Concurrency violation

Discussion in 'ASP .Net' started by Vik, Dec 7, 2004.

  1. Vik

    Vik Guest

    I create a dataadapter in code using an SQLCommand Builder and
    TableMapping, and fill a dataset. After I add the rows to the datatable
    (through a datagrid) and try to update/delete them, I get a Concurrency
    violation error. If I close a form and open it again, everything works fine.
    If I create the dataadapter in design mode, everything also works fine.
    What may be wrong here?

    Thanks.
    Vik, Dec 7, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Babu
    Replies:
    0
    Views:
    511
  2. Craig Deelsnyder

    Re: data concurrency

    Craig Deelsnyder, Aug 29, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    371
    Craig Deelsnyder
    Aug 29, 2003
  3. Brian Henry

    concurrency issues (on aspx page in vb)

    Brian Henry, Oct 8, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    380
  4. Rob Dob

    Concurrency violation adding records Why?

    Rob Dob, Nov 16, 2007, in forum: ASP .Net Building Controls
    Replies:
    6
    Views:
    922
    Mike C#
    Nov 18, 2007
  5. PaulNaude

    How 2 hide RED concurrency violation indicator

    PaulNaude, Dec 5, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    139
    PaulNaude
    Dec 5, 2005
Loading...

Share This Page