asp.net身份验证
21蓝冰 2010-11-09 05:43:42 Sqlcommand cmd=new Sqlcommand();
cmd.CommandText("select count(*) from user where userName=" + this.txtUserName.text + " and userPassword=" + this.txtuserPassword.text);
int count = convert.toInt32(cmd.ExecuteScalar());
为什么会出错啊!