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

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

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

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

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

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

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