2003版本的Access数据链接字符串:
string dataBasePath = @"C:/Users/user/Documents/Test.mdb";
string connectionString = "provider=microsoft.jet.oledb.4.0;Data Source=" + dataBasePath + ";";
2007版本的Access数据链接字符串应为:
string dataBasePath = @"C:/Users/user/Documents/Test.accdb";
string connectionString = "provider=microsoft.ace.oledb.12.0;Data Source=" + dataBasePath + ";";
换成新的提供程序即可