Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > ADO Data > UpdateRowSource...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 4255 of 4320
Post > Topic >>

UpdateRowSource.FirstReturnedRecord not working on .Net 2.0

by =?Utf-8?B?ZGNob2kyODg=?= <dchoi288@[EMAIL PROTECTED] > Jun 30, 2008 at 12:55 PM

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.

The expected behaviour is the DataSet I passed into the Update method as
an 
output is returned with the record containing the new id.

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

Regards,
Albert
 




 3 Posts in Topic:
UpdateRowSource.FirstReturnedRecord not working on .Net 2.0
=?Utf-8?B?ZGNob2kyODg=?=   2008-06-30 12:55:01 
Re: UpdateRowSource.FirstReturnedRecord not working on .Net 2.0
"Stephen Howe"   2008-06-30 21:55:10 
Re: UpdateRowSource.FirstReturnedRecord not working on .Net 2.0
=?Utf-8?B?ZGNob2kyODg=?=   2008-06-30 14:15:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 15:46:17 CST 2008.