Exemplo n.º 1
0
 public void BindGv()
 {
     this.AspNetPager1.RecordCount = ConstructReport.GetLaborAnalysisCount(this.txtTaskCode.Text.Trim(), this.txtTaskName.Text.Trim(), this.prjId);
     this.dt = ConstructReport.GetLaborAnalysis(this.txtTaskCode.Text.Trim(), this.txtTaskName.Text.Trim(), this.prjId, this.AspNetPager1.PageSize, this.AspNetPager1.CurrentPageIndex);
     this.gvCost.DataSource = this.dt;
     this.gvCost.DataBind();
 }