Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WTF Does This Mean?????
Message
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
01446451
Message ID:
01446461
Vues:
61
>I'm trying to return a dataset from an Access table. I have done this same block of code in other apps dozens of times with no problems
>
>
>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");
>}
>
>
>
>
>Tonight I get this message on the AccessDA.Fill:
>
>
>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.
>
>
>I have Googled this and there are not any real answers. What the HECK is this????

It sounds like a null value in all but name ?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform