Inherits System.Windows.Forms.Form
Dim myconnection As New OleDb.OleDbConnection("provider=Microsoft.ACE.OLEDB.12.0;data source=" & Application.StartupPath & "\527数据库.accdb")
Dim mycommand As OleDb.OleDbCommand
Dim myreader As OleDb.OleDbDataReader
老师给的Access2010的连接代码在2013版上出现--“未在本地计算机上注册“Microsoft.ACE.OLEDB.12.0”提供程序”
Dim myconnection As New OleDb.OleDbConnection("provider=Microsoft.ACE.OLEDB.12.0;data source=" & Application.StartupPath & "\527数据库.accdb")
Dim mycommand As OleDb.OleDbCommand
Dim myreader As OleDb.OleDbDataReader
老师给的Access2010的连接代码在2013版上出现--“未在本地计算机上注册“Microsoft.ACE.OLEDB.12.0”提供程序”