这段代码是否有错误?
OleDbConnection s = new OleDbConnection("provider=Microsoft.Jet.OLEDB.4.0 ;Data Source=D:/Microsoft Office2003/db1.mdb;");
OleDbCommand cmd = new OleDbCommand("select * from asp",s);
cmd.Connection.Open();
OleDbDataReader a = cmd.ExecuteReader();
this.CheckBoxList1.DataTextField = "qiu";
this.CheckBoxList1.DataValueField = "id";
this.CheckBoxList1.DataSource = a;
this.CheckBoxList1.DataBind();
a.Close();
s.Close();
一运行就有错误提示"Microsoft Jet 数据库引擎找不到输入表或查询 'asp'。 确定它是否存在,以及它的名称的拼写是否正确"
显示错误的位置是:OleDbDataReader a = cmd.ExecuteReader();
请教~~~~~
[求助]OleDb连接ACCESS