J
Jim Chapman
I'm getting a ReadOnlyException on the Primary Key Column of a DataTable in
my DataSet. I'm using the da.RowUpdated and SELECT @@IDENTITY trick to grab
the pkValue from SQL 7 and update the DataRow. However, this fails and the
DataRow keeps the value it auto-created (usually 0.)
I'm using OleDb and, oddly enough, the exact same code works with Access
without a problem.
Any suggestions?
my DataSet. I'm using the da.RowUpdated and SELECT @@IDENTITY trick to grab
the pkValue from SQL 7 and update the DataRow. However, this fails and the
DataRow keeps the value it auto-created (usually 0.)
I'm using OleDb and, oddly enough, the exact same code works with Access
without a problem.
Any suggestions?