Exemplo n.º 1
0
        public string Register()
        {
            string userID, pass, email;

            userID = Request["UserName"].ToString();
            pass   = Request["UserPwd"].ToString();
            email  = Request["UserEmail"].ToString();
            Model_Data.User oUser = new Model_Data.User();
            return(oUser.Register(userID, pass, email));
        }
Exemplo n.º 2
0
        public string Login()
        {
            string pass;

            userID            = Request["UserName"].ToString();
            pass              = Request["UserPwd"].ToString();
            Session["userid"] = userID;
            Model_Data.User oUser = new Model_Data.User();
            return(oUser.Login(userID, pass));
        }