G
Guest
Hi. I've been using Access 2003 (.mdb files) from ADO.NET for a while now.
I'd like to start connecting to the new .accdb files instead.
I've tried using the same connection string but changing the file name to
end with .ACCDB. It looks like:
ConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=SomeDBFile.accdb"
But when I do this, I get a runtime error:
"Unrecognized database format 'C:\Documents and Settings\......."
Can you tell me what the connection string *should* look like?
Alex
I'd like to start connecting to the new .accdb files instead.
I've tried using the same connection string but changing the file name to
end with .ACCDB. It looks like:
ConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=SomeDBFile.accdb"
But when I do this, I get a runtime error:
"Unrecognized database format 'C:\Documents and Settings\......."
Can you tell me what the connection string *should* look like?
Alex