>static string AccessConnString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Projects\Sales Quote\Database\Orig\quotedb 9-27.mdb"; >static OleDbConnection AccessConn = new OleDbConnection(); > >static void Main(string[] args) >{ > AccessConn.ConnectionString = AccessConnString; > > try > { > AccessConn.Open(); > } > catch (Exception e) > { > throw e; > } > > OleDbCommand oCmdVendors = new OleDbCommand(); > oCmdVendors.CommandText = "select * from quote"; > oCmdVendors.Connection = AccessConn; > > OleDbDataAdapter AccessDA = new OleDbDataAdapter(); > AccessDA.SelectCommand = oCmdVendors; > > DataSet dsAccess = new DataSet(); > AccessDA.Fill(dsAccess, "Quotes"); >} > > >>
>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. >>