Exemple #1
0
    public void BindGv()
    {
        string taskCode     = this.txtTaskCode.Text.Trim();
        string taskName     = this.txtTaskName.Text.Trim();
        string resourceCode = this.txtResourceCode.Text.Trim();
        string resourceName = this.txtResourceName.Text.Trim();

        this.AspNetPager1.RecordCount = ConstructReport.GetCBSTaskCount(taskCode, taskName, resourceCode, resourceName, this.prjId, "LaborCBSCode");
        DataTable cBSTaskAnalysis = ConstructReport.GetCBSTaskAnalysis(taskCode, taskName, resourceCode, resourceName, this.prjId, "LaborCBSCode", this.AspNetPager1.PageSize, this.AspNetPager1.CurrentPageIndex);

        this.gvLaborCost.DataSource = cBSTaskAnalysis;
        this.gvLaborCost.DataBind();
    }