protected void Page_Load(object sender, EventArgs e)
 {
     if (ChangeHope.WebPage.PageRequest.GetFormString("Option") != string.Empty && ChangeHope.WebPage.PageRequest.GetFormString("id") != "")
     {
         string types = Request["Option"].Trim();
         string id = ChangeHope.WebPage.PageRequest.GetFormString("id");
         if (types == "del")
         {
             if (ShowShop.Common.PromptInfo.Message("005001003") != "ok")
             {
                 ShowShop.BLL.Order.Orders bll = new ShowShop.BLL.Order.Orders();
                 bll.Delete(id);
             }
             else
             {
                 Response.Write("no");
             }
         }
     }
     if(!this.Page.IsPostBack)
     {
         ShowShop.Common.PromptInfo.Popedom("005001001");
         GetList();
         InitWebControls();
     }
 }
 /// <summary>
 /// 删除订单 
 /// </summary>
 /// <param name="id"></param>
 protected void DeleteOrder(string id)
 {
     ShowShop.BLL.Order.Orders bll = new ShowShop.BLL.Order.Orders();
     try
     {
         bll.Delete(id);
         this.ltlMsg.Text = "操作成功,已删除该订单";
         this.pnlMsg.Visible = true;
         this.pnlMsg.CssClass = "actionOk";
     }
     catch
     {
         this.ltlMsg.Text = "操作失败";
         this.pnlMsg.Visible = true;
         this.pnlMsg.CssClass = "actionErr";
     }
 }