求问用字符串取账号密码,这串代码最后的一个 " ' " 是什么意思???
string s ="select*from PassWord where ID='" + textBox1.Text + "and password='" + textBox2.Text + "'";
string s ="select*from PassWord where ID='" + textBox1.Text +"'" + "and password='" + textBox2.Text + "'";
为啥不用在中间加一个单引号???