Ejemplo n.º 1
0
 private void DataBindGvwSubProject(DataTable table)
 {
     this.AspNetPager1.RecordCount = EReport.GetReport(this.prjId, 0, 0, this.txtCode.Text.Trim(), this.txtName.Text.Trim(), this.hfldIsWBSRelevance.Value).Rows.Count;
     this.rptSubProject.DataSource = table;
     this.rptSubProject.DataBind();
     if (table.Rows.Count == 0)
     {
         base.RegisterScript("$('#tableSubProject tr:last-child').remove();");
     }
 }
Ejemplo n.º 2
0
 private DataTable GetSubProject(int pageIndex, int pageSize)
 {
     return(EReport.GetReport(this.prjId, pageSize, pageIndex, this.txtCode.Text.Trim(), this.txtName.Text.Trim(), this.hfldIsWBSRelevance.Value));
 }