locked
DBConcurrency Exception is thrown RRS feed

  • Question

  • User364803292 posted

    Hello all

    I am trying to Update (Insert) a record using a data adapter and everything works fine when i update the first row but on the second i get a DBConcurrencyException because the exception.Row is null.

    I think that the exception is thrown because the DataRow.RowState is set to Modified the second time but I have no idea why this is happening and if this causes the error.

    Any help is much appriciated.

    Thanks in advance

    Thursday, March 11, 2010 6:07 AM