Esempio n. 1
0
    //初始数据
    private void PopulateControls()
    {
        DataTable lists = bll.GetItemListByCardId(userId, cardId);

        PriceTop.DataSource = lists;
        PriceTop.DataBind();

        UpdateTotalPrice(lists);
    }
Esempio n. 2
0
    //初始数据
    private void PopulateControls()
    {
        DataTable lists = bll.GetItemPriceTopList(userId, today);

        PriceTop.DataSource = lists;
        PriceTop.DataBind();

        this.hidChartData.Value = ItemHelper.GetChartData(lists, "ItemBuyDate");
    }
Esempio n. 3
0
    protected void PopulateControls()
    {
        DataTable dt = ItemAccess.GetItemPriceTopList(today, userId);

        PriceTop.DataSource = dt;
        PriceTop.DataBind();

        this.hidChartData.Value = ItemHelper.GetChartData(dt, "ItemBuyDate");
    }