string dataBaseName = "Provider=Microsoft.Ace.OLEDB.12.0; Data Source=C:\\MyDB.accdb;Persist Security Info=False;"; //Defines the location of the database and its type. 你的数据库地点要放好
复制代码
还是错误?
1. Uninstall Microsoft Office
2. Uninstall 所有 Access Run Time 2007, 2010 etc