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
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