sql = "select count(*) from 用户表 where username='" + this.textBox1.Text + "' and pwd='" + this.textBox2.Text + "'";
试下改成
sql = "select count(*) as 用户数 from 用户表 where username='" + this.textBox1.Text + "' and pwd='" + this.textBox2.Text + "'";
试下改成
sql = "select count(*) as 用户数 from 用户表 where username='" + this.textBox1.Text + "' and pwd='" + this.textBox2.Text + "'";
看一下是不是这个词用的不对,具体的词记不太清了。
看一下是不是这个词用的不对,具体的词记不太清了。
看一下是不是这个词用的不对,具体的词记不太清了。