protected void Page_Load(object sender, EventArgs e) { if (!base.IsPostBack) { string retInfo = ""; ShopStatisticHelper.StatisticsOrdersByRecDate(DateTime.Today, UpdateAction.AllUpdate, 0, out retInfo); this.LoadData(); } }
protected void Page_Load(object sender, System.EventArgs e) { if (!base.IsPostBack) { string text = ""; ShopStatisticHelper.StatisticsOrdersByRecDate(System.DateTime.Today, UpdateAction.AllUpdate, 0, out text); this.LoadData(); } }
protected void Page_Load(object sender, System.EventArgs e) { System.DateTime arg_05_0 = System.DateTime.Today; System.DateTime beginDate = System.DateTime.Today.AddDays(-6.0); if (!base.IsPostBack) { string text = ""; ShopStatisticHelper.StatisticsOrdersByRecDate(System.DateTime.Today, UpdateAction.AllUpdate, 0, out text); this.LoadData(); this.LoadTradeDataList(beginDate, 7); } }
protected void Page_Load(object sender, EventArgs e) { DateTime today = DateTime.Today; DateTime beginDate = DateTime.Today.AddDays(-6.0); if (!base.IsPostBack) { string retInfo = ""; ShopStatisticHelper.StatisticsOrdersByRecDate(DateTime.Today, UpdateAction.AllUpdate, 0, out retInfo); this.LoadData(); this.LoadTradeDataList(beginDate, 7); } }
protected void Page_Load(object sender, System.EventArgs e) { this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); if (base.GetUrlParam("BeginDate") == "") { string text = ""; ShopStatisticHelper.StatisticsOrdersByRecDate(System.DateTime.Today, UpdateAction.AllUpdate, 0, out text); } if (!base.IsPostBack) { this.LoadParameters(); this.BindData(); } }
protected void Page_Load(object sender, EventArgs e) { this.btnExport.Click += new EventHandler(this.btnExport_Click); this.btnSearch.Click += new EventHandler(this.btnSearch_Click); if (base.GetUrlParam("BeginDate") == "") { string retInfo = ""; ShopStatisticHelper.StatisticsOrdersByRecDate(DateTime.Today, UpdateAction.AllUpdate, 0, out retInfo); } this.LoadParameters(); if (!base.IsPostBack) { this.BindData(); this.exportFieldsCheckBoxList.Items.Clear(); this.exportFieldsCheckBoxList.Items.Add(new ListItem("排名", "RankIndex")); this.exportFieldsCheckBoxList.Items.Add(new ListItem("商品名称", "ProductName")); this.exportFieldsCheckBoxList.Items.Add(new ListItem("销售量", "SaleQty")); this.exportFieldsCheckBoxList.Items.Add(new ListItem("销售额", "SaleAmountFee")); this.exportFieldsCheckBoxList.Items.Add(new ListItem("购买人数", "BuyerNumber")); this.exportFieldsCheckBoxList.Items.Add(new ListItem("转化率", "ConversionRate")); } }
protected void Page_Load(object sender, EventArgs e) { this.btnExport.Click += new EventHandler(this.btnExport_Click); this.btnSearch.Click += new EventHandler(this.btnSearch_Click); if (base.GetUrlParam("BeginDate") == "") { string retInfo = ""; ShopStatisticHelper.StatisticsOrdersByRecDate(DateTime.Today, UpdateAction.AllUpdate, 0, out retInfo); } this.LoadParameters(); if (!base.IsPostBack) { this.BindData(); this.exportFieldsCheckBoxList.Items.Clear(); this.exportFieldsCheckBoxList.Items.Add(new ListItem("排名", "RankIndex")); this.exportFieldsCheckBoxList.Items.Add(new ListItem("手机号", "CellPhone")); this.exportFieldsCheckBoxList.Items.Add(new ListItem("用户名", "UserName")); this.exportFieldsCheckBoxList.Items.Add(new ListItem("注册日期", "CreateDate")); this.exportFieldsCheckBoxList.Items.Add(new ListItem("订单数", "OrderNumber")); this.exportFieldsCheckBoxList.Items.Add(new ListItem("消费额", "OrderTotal")); this.exportFieldsCheckBoxList.Items.Add(new ListItem("客单价", "AvgPrice")); } }