connecting to Access DB from C#

May 20 2004 6:20 AM
I am attempting my first ADO.NET program in C# and I am failing at the first hurdle. The database file is called reminders.mdb and resides in my root directory. My connection string is based on the help file data and is: "server=(local);Trusted_Connection=yes;Data Source=C:\\reminders.mdb;Provider=Microsoft.Jet.OLEDB.4.0;" The error I get is: System.Data.OleDb.OleDbException: Could not find installable ISAM I am obviously doing something fundamentally wrong. Is any kind person able to assist a newbie? Thanks

Answers (4)