3
Answers

Error in filiing DataSet

Ask a question
Aamir Khan

Aamir Khan

12y
1.7k
1
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)