Ejemplo n.º 1
0
 public void DG1_BIND()
 {
     System.Data.DataTable dataSource = new System.Data.DataTable();
     this.AspNetPager1.RecordCount = PMAction.GetPrjCount(this.txtPrjCode.Text.Trim(), this.txtprjName.Text.Trim(), "", "", this.txtStartDate.Text.Trim(), this.txtEndDate.Text.Trim(), base.UserCode);
     dataSource = PMAction.GetPrjInfo(this.txtPrjCode.Text.Trim(), this.txtprjName.Text.Trim(), "", "", this.txtStartDate.Text.Trim(), this.txtEndDate.Text.Trim(), base.UserCode, this.AspNetPager1.PageSize, this.AspNetPager1.CurrentPageIndex);
     this.gvPrjInfo.DataSource = dataSource;
     this.gvPrjInfo.DataBind();
 }
Ejemplo n.º 2
0
 public void ShowTaskList()
 {
     System.Data.DataTable dataSource = new System.Data.DataTable();
     this.AspNetPager1.RecordCount = PMAction.GetPrjCount(this.txtPrjCode.Text.Trim(), this.txtprjName.Text.Trim(), this.txtOwner.Text.Trim(), this.txtPrjPlace.Text.Trim(), "", "", base.UserCode);
     dataSource = PMAction.GetPrjInfo(this.txtPrjCode.Text.Trim(), this.txtprjName.Text.Trim(), this.txtOwner.Text.Trim(), this.txtPrjPlace.Text.Trim(), "", "", base.UserCode, this.AspNetPager1.PageSize, this.AspNetPager1.CurrentPageIndex);
     this.gvPrjInfo.DataSource = dataSource;
     this.gvPrjInfo.DataBind();
 }