protected void UpAnh()
    {
        HttpPostedFile avatar      = FileUploadAvatar.PostedFile;
        HttpPostedFile bigImage    = FileUploadBigImage.PostedFile;
        HttpPostedFile mediumImage = FileUploadMediumImage.PostedFile;

        if (FileUploadAvatar.HasFile == false && avatar.ContentLength > 500000 ||
            FileUploadBigImage.HasFile == false && bigImage.ContentLength > 500000 ||
            FileUploadMediumImage.HasFile == false && mediumImage.ContentLength > 500000)
        {
            return;
        }
        else
        {
            try
            {
                if (FileUploadAvatar.FileName != "")
                {
                    string sAvatar = Server.MapPath("~/NguoiDung/images/" + FileUploadAvatar.FileName);
                    FileUploadAvatar.SaveAs(sAvatar);
                }
                if (FileUploadBigImage.FileName != "")
                {
                    string sBigImage = Server.MapPath("~/NguoiDung/images/" + FileUploadBigImage.FileName);
                    FileUploadBigImage.SaveAs(sBigImage);
                }
                if (FileUploadMediumImage.FileName != "")
                {
                    string sMediumImage = Server.MapPath("~/NguoiDung/images/" + FileUploadMediumImage.FileName);
                    FileUploadMediumImage.SaveAs(sMediumImage);
                }
            }
            catch
            {
            }
        }
    }
    protected void UpAnh()
    {
        HttpPostedFile avatar = FileUploadAvatar.PostedFile;

        if (FileUploadAvatar.HasFile == false && avatar.ContentLength > 500000)

        {
            return;
        }
        else
        {
            try
            {
                if (FileUploadAvatar.FileName != "")
                {
                    string sAvatar = Server.MapPath("~/NguoiDung/images/NSX/" + FileUploadAvatar.FileName);
                    FileUploadAvatar.SaveAs(sAvatar);
                }
            }
            catch
            {
            }
        }
    }