private void PopulateControls()
    {
        ItemNameCountList.DataSource = bll.GetTongJiWithItemNameCount();
        ItemNameCountList.DataBind();

        ItemPriceMaxList.DataSource = bll.GetTongJiWithItemPriceMax();
        ItemPriceMaxList.DataBind();

        ItemAddLastList.DataSource = bll.GetTongJiWithItemAddLast();
        ItemAddLastList.DataBind();

        UserItemCountList.DataSource = bll.GetTongJiWithUserItemCount();
        UserItemCountList.DataBind();

        UserItemLastList.DataSource = bll.GetTongJiWithUserItemLast();
        UserItemLastList.DataBind();

        UserAddLastList.DataSource = bll.GetTongJiWithUserAddLast();
        UserAddLastList.DataBind();
    }
示例#2
0
    protected void PopulateControls()
    {
        ItemNameCountList.DataSource = TongJiAccess.GetTongJiByItemNameCount();
        ItemNameCountList.DataBind();

        ItemPriceMaxList.DataSource = TongJiAccess.GetTongJiByItemPriceMax();
        ItemPriceMaxList.DataBind();

        ItemAddLastList.DataSource = TongJiAccess.GetTongJiByItemAddLast();
        ItemAddLastList.DataBind();

        UserItemCountList.DataSource = TongJiAccess.GetTongJiByUserItemCount();
        UserItemCountList.DataBind();

        UserItemLastList.DataSource = TongJiAccess.GetTongJiByUserItemLast();
        UserItemLastList.DataBind();

        UserAddLastList.DataSource = TongJiAccess.GetTongJiByUserAddLast();
        UserAddLastList.DataBind();
    }