回 帖 发 新 帖 刷新版面

主题:错在哪里

select * from dtjl where RY_ID='"+textBox1.Text+"' &  RY_PA='"+textBox2.Text+"'

回复列表 (共1个回复)

沙发

改成:
"select * from dtjl where RY_ID= '" + textBox1.Text + "'and RY_PA='" +textBox2.Text + "'"

我来回复

您尚未登录,请登录后再回复。点此登录或注册