Exemplo n.º 1
0
        protected void btnUpdate_Click(object sender, EventArgs e)
        {
            Message umsg = accountsFacade.ModifyUserFace(Fetch.GetUserCookie().UserID, Convert.ToInt16(hfFaceID.Value));

            if (umsg.Success)
            {
                ShowAndRedirect("头像修改成功!", "/Member/ModifyFace.aspx");
            }
            else
            {
                Show(umsg.Content);
            }
        }