Ejemplo n.º 1
0
        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");
            }
        }
Ejemplo n.º 2
0
        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");
            }

        }