コード例 #1
0
ファイル: ContractList.aspx.cs プロジェクト: zxl881203/src
    public void BindGv()
    {
        DataTable allTask = BudContractTask.GetAllTask(this.prjId, string.Empty, string.Empty, string.Empty);

        this.gvBudget.DataSource = allTask;
        this.gvBudget.DataBind();
    }
コード例 #2
0
    public void BindGv()
    {
        if (this.month.Length == 1)
        {
            this.month = this.month.PadLeft(2, '0');
        }
        BudContractTask.GetTaskInfo(this.prjId, this.type, this.year, this.month);
        DataTable allTask = BudContractTask.GetAllTask(this.prjId, this.type, this.year, this.month);

        this.gvBudget.DataSource = allTask;
        this.gvBudget.DataBind();
    }