C# To Open Access Database
visual studio 2015 , access 2013. i in need of opening database in order read data tables. my code below, keeps giving me error , never open database. what need in order able open access database in order read data tables? error: (this error thrown when code hits line dd= db.open...) an unhandled exception of type 'system.runtime.interopservices.comexception' occurred in linktosql.exe additional information: unrecognized database format 'r:\test.accdb'. syntax: using system; using system.collections.generic; using system.data; using system.data.oledb; using system.io; using system.text; namespace linktosql { class program { static void main(string[] args) { openaccess(); } public static void openaccess() { string path = "r:\\test.accdb"; dao.database dd; dao.dbengine db = new dao.dbengine(); dd = db.opendatabase(path); ...