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
Dorababu MekaPosted Mar 16, 2012, 7:04 AM
Aamir KhanPosted Mar 16, 2012, 6:28 AM
then it goes into exception and the following error shows
"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."
Dorababu MekaPosted Mar 16, 2012, 6:21 AM