mybase.getds("select * from sbxx where dwbh=" + this.textBox1.Text.Trim() + "&& sbbh=" + this.textBox6.Text.Trim(), "table1");
判断两个条件同时存在的情况,也就是“并操作”
我做了如下改动:
DataSet myds3 = mybase.getds("select * from sbxx where dwbh='" + this.textBox1.Text.Trim() + "' && sbbh = '" + this.textBox6.Text.Trim()+"'" , "table1");
但调试时,提示:在“&”处有错误