C
Christophe Sauvage
Hello,
I have the version 2.0 of framework.
And i have an error message on a developpment who work on 1.1 :
Exception Details: System.Data.OleDb.OleDbException: Erreur non spécifiée
Source Error:
Line 25: DataSet myDataSet = new DataSet("Entreprise");
Line 26:
Line 27: myDataAdapter.Fill(myDataSet,"Entreprises");
Here is my code :
string connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" +
(Server.MapPath("/data/planning.mdb"));
OleDbConnection conn = new OleDbConnection(connectionString);
OleDbDataAdapter myDataAdapter = new OleDbDataAdapter("Select * from
Entreprises",conn);
DataSet myDataSet = new DataSet("Entreprise");
myDataAdapter.Fill(myDataSet,"Entreprises");
....
This method still work on asp.net 2.0 ?
I have the version 2.0 of framework.
And i have an error message on a developpment who work on 1.1 :
Exception Details: System.Data.OleDb.OleDbException: Erreur non spécifiée
Source Error:
Line 25: DataSet myDataSet = new DataSet("Entreprise");
Line 26:
Line 27: myDataAdapter.Fill(myDataSet,"Entreprises");
Here is my code :
string connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" +
(Server.MapPath("/data/planning.mdb"));
OleDbConnection conn = new OleDbConnection(connectionString);
OleDbDataAdapter myDataAdapter = new OleDbDataAdapter("Select * from
Entreprises",conn);
DataSet myDataSet = new DataSet("Entreprise");
myDataAdapter.Fill(myDataSet,"Entreprises");
....
This method still work on asp.net 2.0 ?