Esempio n. 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            string MemWeiXinCard = base.Request["MemWeiXinCard"];

            if (!string.IsNullOrEmpty(MemWeiXinCard))
            {
                Chain.Model.Mem mem = new Chain.BLL.Mem().GetMemByWeiXinCard(MemWeiXinCard);
                if (mem != null)
                {
                    this.weixinRecharge.HRef       = "WeiXinRecharge.aspx?MemWeiXinCard=" + MemWeiXinCard + "&rc=" + PubFunction.GetDataTimeString();
                    this.weixinCardImg.Src         = "../Upload/WeiXin/Images/" + MemWeiXinCard + ".jpg?rc=" + PubFunction.GetDataTimeString();
                    this.weixinExpense.HRef        = "WeiXinExpense.aspx?MemWeiXinCard=" + MemWeiXinCard + "&rc=" + PubFunction.GetDataTimeString();
                    this.weixinPointChange.HRef    = "WeiXinPointChange.aspx?MemWeiXinCard=" + MemWeiXinCard + "&rc=" + PubFunction.GetDataTimeString();
                    this.weixinUpdateInfo.HRef     = "WeiXinUpdateInfo.aspx?MemWeiXinCard=" + MemWeiXinCard + "&rc=" + PubFunction.GetDataTimeString();
                    this.weixinPointExchange.HRef  = "WeiXinPointExchange.aspx?MemWeiXinCard=" + MemWeiXinCard + "&rc=" + PubFunction.GetDataTimeString();
                    this.weixinConvertHistory.HRef = "WeiXinConvertHistory.aspx?MemWeiXinCard=" + MemWeiXinCard + "&rc=" + PubFunction.GetDataTimeString();
                    this.weixinLookCoupon.HRef     = "WeiXinCoupon.aspx?MemWeiXinCard=" + MemWeiXinCard + "&rc=" + PubFunction.GetDataTimeString();
                    this.DrawImage(mem, MemWeiXinCard);
                }
            }
        }