UpdateRowSource.FirstReturnedRecord not working on .Net 2.0

T

tommaso gobbato

I have a project that has been upgraded from .Net 1.1 to 2.0 and I cannot get
the UpdateRowSource.FirstReturnedRecord of the InsertCommand to work
correctly using the System.Data.OracleClient. It works correctly on 1.1 and
the DataSet is updated correctly after a DataAdapter.Update, but although the
insert happens to the database on 2.0, the DataSet is not updated.

My InsertCommand is a stored procedure that gets the next id (primary key)
for the tables instance, inserts the new record with the id, and then gets
the newly inserted row as an output, using oracle REF CURSOR.

Has anybody run into this problem and found a work-around?

Regards,
Tommaso
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top