Ejemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            string OrderId = null;

            OrderId = Request["oid"];
            if (string.IsNullOrEmpty(OrderId))
            {
                Response.End();
            }
            if (bllMall.IsLogin)
            {
                OrderInfo = bllMall.GetScoreOrderInfo(OrderId);
                if (OrderInfo == null)
                {
                    Response.End();
                }
                if (!OrderInfo.OrderUserID.Equals(bllMall.GetCurrUserID()))
                {
                    Response.End();
                }
                if (!OrderInfo.WebsiteOwner.Equals(bllMall.WebsiteOwner))
                {
                    Response.End();
                }
            }
            else
            {
                Response.Redirect("/App/Cation/Wap/Login.aspx?redirecturl=/App/Cation/Wap/Mall/MyCenter.aspx");
            }
        }
Ejemplo n.º 2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     orderId = Request["oid"];
     if (string.IsNullOrEmpty(orderId))
     {
         Response.End();
     }
     orderInfo = bll.GetScoreOrderInfo(orderId);
     if (orderInfo == null)
     {
         Response.End();
     }
     orderDetailList = bll.GetScoreOrderDetailsList(orderId);
     foreach (var item in bll.GetOrderStatuList())
     {
         sbOrderStatuList.AppendFormat("<option  value=\"{0}\" >{1}</option>", item.OrderStatu, item.OrderStatu);
     }
     foreach (var item in bll.GetDeliveryStaffList())
     {
         sbDeliveryStaffList.AppendFormat("<option  value=\"{0}\" >{1}</option>", item.AutoID, item.StaffName);
     }
 }