x86 - Connecting C# Application to MS Access 2013 DB -
i'm using vs 2012 & office 2013 64 bits, , changed target platform x86, still got weard error
the 'microsoft.ace.oledb.12.0' provider not registered on local machine".
you need download 2 components:
1) microsoft access database engine 2) office system driver: data connectivity components
after these installations application start work. furthermore, following link better use on access database:
void test() { string connstr = "provider=microsoft.ace.oledb.12.0;data source=|datadirectory|\\database1.accdb;persist security info=false;"; oledbconnection conn = new oledbconnection(baglanticumlesi); conn.open(); conn.close(); }
Comments
Post a Comment