示例#1
0
        /// <summary>
        /// 修改密码
        /// </summary>
        private void ChangePwd()
        {
            HttpContext context  = System.Web.HttpContext.Current;
            var         userid   = context.Request.Params["userid"];
            var         password = context.Request.Params["password"];

            try
            {
                systemBLL.ChangePwd(userid, password);
                context.Response.Write("true");
            }
            catch (Exception e)
            {
                context.Response.Write("false");
            }
        }