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. Advertisements

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:
    616
  2. Brian Henry

    concurrency issues (on aspx page in vb)

    Brian Henry, Oct 8, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    547
  3. Homa
    Replies:
    7
    Views:
    615
    John Saunders
    Nov 16, 2003
  4. Homa
    Replies:
    1
    Views:
    550
    Alvin Bruney
    Nov 21, 2003
  5. Adam W. Saxton

    SQL Temporary Table Concurrency

    Adam W. Saxton, Dec 8, 2003, in forum: ASP .Net
    Replies:
    5
    Views:
    5,461
    David Browne
    Dec 9, 2003
  6. ElanKathir .S.N

    Concurrency in ASP.NET

    ElanKathir .S.N, Feb 6, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    558
    Alvin Bruney [MVP]
    Feb 6, 2004
  7. Rob Dob

    Concurrency violation adding records Why?

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

    How 2 hide RED concurrency violation indicator

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