Access2003查询问题
程序代码:
private OleDbDataAdapter myad; private DataSet ds = new DataSet(); private void button1_Click(object sender, EventArgs e) { string strCon = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=G:/作业/图书管理系统.mdb"; OleDbConnection myCon = new OleDbConnection(strCon); myCon.Open(); string myComStr = "SELECT * FROM 教师表 WHERE (姓名='" + textBox1.Text + "')"; this.myad = new OleDbDataAdapter(myComStr, myCon); this.ds.Clear(); this.myad.Fill(ds, "教师表"); }为什么我这 里编译没有报错,当查询的时候却查不出来找的姓名来!?