protected void Save_Btn_Click(object sender, EventArgs e)
        {
            M_Design_Tlp tlpMod = new M_Design_Tlp();

            if (Mid > 0)
            {
                tlpMod = tlpBll.SelReturnModel(Mid);
            }
            string oldimg = tlpMod.PreviewImg;

            tlpMod.TlpName = TlpName_T.Text;
            tlpMod.Price   = DataConvert.CDouble(Price_T.Text);
            tlpMod.Remind  = Remind_T.Text;
            tlpMod.ClassID = DataConvert.CLng(Node_Hid.Value);
            tlpMod.ZStatus = DataConvert.CLng(Request.Form["zstatus_rad"]);
            tlpMod.Score   = DataConvert.CDouble(Request.Form["score_num"]);
            tlpMod.ZType   = ZType;
            tlpMod.DefBy   = Request.Form["defby_chk"];
            if (!PreView_UP.FVPath.Equals(tlpMod.PreviewImg, StringComparison.CurrentCultureIgnoreCase))
            {
                if (PreView_UP.HasFile)
                {
                    tlpMod.PreviewImg = PreView_UP.SaveFile();
                }
                else
                {
                    tlpMod.PreviewImg = PreView_UP.FVPath;
                }
            }
            if (Mid > 0)
            {
                if (!tlpMod.PreviewImg.Equals(oldimg))
                {
                    M_Design_Page pageMod = pageBll.SelModelByTlp(tlpMod.ID);
                    pageMod.PreviewImg = tlpMod.PreviewImg;
                    pageBll.UpdateByID(pageMod);
                }
                tlpBll.UpdateByID(tlpMod);
            }
            else
            {
                tlpMod.ID = tlpBll.Insert(tlpMod);
                //添加一个新的场景
                M_Design_Page pageMod = new M_Design_Page();
                pageMod.TlpID      = tlpMod.ID;
                pageMod.ZType      = 1;
                pageMod.PreviewImg = tlpMod.PreviewImg;
                pageBll.Insert(pageMod);
            }
            function.WriteSuccessMsg("操作成功", "TlpList.aspx?type=" + ZType);
        }
        protected void UpdateToTlp_B_Click(object sender, EventArgs e)
        {
            M_Design_Page pageMod    = new M_Design_Page();
            M_Design_Page tlppageMod = scenceBll.SelReturnModel(Mid);
            M_Design_Tlp  tlpMod     = new M_Design_Tlp();

            tlpMod.TlpName    = tlppageMod.Title;
            tlpMod.ZType      = 1;
            tlpMod.ZStatus    = 0;
            tlpMod.ClassID    = 0;
            tlpMod.PreviewImg = tlppageMod.PreviewImg;
            tlpMod.ID         = tlpBll.Insert(tlpMod);

            pageMod.Title      = tlppageMod.Title;
            pageMod.TlpID      = tlpMod.ID;
            pageMod.page       = tlppageMod.page;
            pageMod.comp       = tlppageMod.comp;
            pageMod.scence     = tlppageMod.scence;
            pageMod.Score      = tlppageMod.Score;
            pageMod.ThumbImg   = tlppageMod.ThumbImg;
            pageMod.PreviewImg = tlppageMod.PreviewImg;
            scenceBll.Insert(pageMod);
            function.WriteSuccessMsg("操作成功", "TlpList.aspx?type=1");
        }