WebSiteShop/Admin/Shop/SaleCount.aspx.cs

(开头部分) 8KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using MyShop.BLL;
using MyShop.Model;
using MyShop.Common;
using MyShop.Enumerations;

public partial class Admin_Shop_SaleCount : AdminBasePage
{        
    protected void Page_Load(object sender, EventArgs e)
    {
        ChkAdminLogin();

        if (!IsPostBack)
            GridOrderItemSaleCountListDataBind();
    }

    #region Web Form Designer generated code

    protected override void OnInit(EventArgs e)
    {
        InitializeComponent();
        base.OnInit(e);
    }

    private void InitializeComponent()
    {
        this.gridOrderItemSaleCountList.GoToPagerButton.Click += new EventHandler(GoToPagerButton_Click);

        this.Load += new EventHandler(this.Page_Load);
        gridOrderItemSaleCountList.AllowSorting = false;
        gridOrderItemSaleCountList.ColumnSpan = 5;
    }

    /// <summary>
    /// 分页跳转时必须
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    public void GoToPagerButton_Click(object sender, EventArgs e)
    {
        SwitchOrderListDataBindType();
    }
    #endregion

    protected void btnNav1_Click(object sender, EventArgs e)
    {
        GridOrderItemSaleCountListDataBind();
        if(hidSaleCountType.Value == "0")
            lblNav2.Text = "所有未发货商品统计";
        else
            lblNav2.Text = "所有商品销售统计";
后面还有 204 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。