Aamir Khan

Aamir Khan

  • NA
  • 277
  • 438.5k

Error in filiing DataSet

Mar 16 2012 6:12 AM
Hi Frnds,

I am trying to fill a DataSet using an ADODB.recordset:

                    OleDbDataAdapter oleda = null;
                    DataSet dsEncrypt = new DataSet();
                    oleda = new OleDbDataAdapter("Select * from " +  ListTable[i] +"",oleConn);
                    oleda.Fill(dsEncrypt);

 getting error while filling --->oleda.Fill(dsEncrypt); 

This works fine in most part but on other occasions I get the error
below:

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

What does this error mean and are there any ways around it?

Help is appreciated,
Aamir

Answers (3)