Vb6 object returning ADO Recordset - Error in .NET

D

Developer

Hi,

My C#, ASP.NET application uses com-interop to call a vb6 method which
returns a ADO 2.6 recordset. I can successfully call the COM component and
even retrieve the recordset. When I try to use the OleDbDataAdapter to
change the ADO recordset into a dataset (So I can use it in a datagrid), I
get the error below:

OleDbDataAdapter myDA = new OleDbDataAdapter();

DataSet myDS = new DataSet();

myDA.Fill(myDS, myADO, "TEST");



"The provider could not determine the Object value. For example, the row was
just created, the default for the Object column was not available, and the
consumer had not yet set a new Object value. "

Any ideas? I can call other vb6 components that return recordsets and they
work fine?

Thanks, Scott
 

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

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,079
Latest member
ElidaWarin

Latest Threads

Top