H
Hendri Adriaens
Hi,
I try to run this:
OdbcDataAdapter odbcDA = new OdbcDataAdapter("select * from job_1",
odbcCon);
DataTable dataTable = new DataTable();
odbcDA.Fill(dataTable);
dataTable.Rows[0].BeginEdit();
dataTable.Rows[0]["E1"] = 0.9919919;
dataTable.Rows[0].EndEdit();
odbcDA.Update(dataTable);
dataTable.AcceptChanges();
But it gives:
Concurrency violation: the UpdateCommand affected 0 of the expected 1
records.
I have no other application running that might be working on the table.
What is wrong here?
Thanks, best regards,
-Hendri.
I try to run this:
OdbcDataAdapter odbcDA = new OdbcDataAdapter("select * from job_1",
odbcCon);
DataTable dataTable = new DataTable();
odbcDA.Fill(dataTable);
dataTable.Rows[0].BeginEdit();
dataTable.Rows[0]["E1"] = 0.9919919;
dataTable.Rows[0].EndEdit();
odbcDA.Update(dataTable);
dataTable.AcceptChanges();
But it gives:
Concurrency violation: the UpdateCommand affected 0 of the expected 1
records.
I have no other application running that might be working on the table.
What is wrong here?
Thanks, best regards,
-Hendri.