LordDeath
Erfahrenes Mitglied
Hi !
Ich hab ein Problem beim öffnen der Datenbank kompilieren geht ohne Fehler und Warnings aber beim Ausführen kommt folgender Fehler
An unhandled exception of type 'System.ArgumentException' occurred in system.data.dll
Additional information: Format of the initialization string does not conform to the OLE DB specification. Starting around char[0] in the connection string.
und da geb ich noch mal den Code dazu :
// Begin Code
string pfad = "V:\\Bathory.mdb";
System.Data.OleDb.OleDbConnection database = new
System.Data.OleDb.OleDbConnection(pfad);
database.Open();
MessageBox.Show("Datenbank offen");
database.Close();
// End Code
OK schon mal Danke im voraus
Greetinx LordDeath
Ich hab ein Problem beim öffnen der Datenbank kompilieren geht ohne Fehler und Warnings aber beim Ausführen kommt folgender Fehler
An unhandled exception of type 'System.ArgumentException' occurred in system.data.dll
Additional information: Format of the initialization string does not conform to the OLE DB specification. Starting around char[0] in the connection string.
und da geb ich noch mal den Code dazu :
// Begin Code
string pfad = "V:\\Bathory.mdb";
System.Data.OleDb.OleDbConnection database = new
System.Data.OleDb.OleDbConnection(pfad);
database.Open();
MessageBox.Show("Datenbank offen");
database.Close();
// End Code
OK schon mal Danke im voraus
Greetinx LordDeath