protected void Page_Load(object sender, EventArgs e) { string userName = Request.QueryString["userName"].ToString(); QPS.NEW.BLL.Users user = new NEW.BLL.Users(); int num = user.SelectUser(userName); if (num > 0) { Response.Write("no"); } else { Response.Write("yes"); } }
protected void Page_Load(object sender, EventArgs e) { string userName = Request.QueryString["userName"].ToString(); QPS.NEW.BLL.Users user = new NEW.BLL.Users(); int num = user.SelectUser(userName); if(num>0) { Response.Write("no"); } else { Response.Write("yes"); } }