提交代码

This commit is contained in:
2023-12-13 10:33:55 +08:00
parent aa944a5ba0
commit 302bfd1434
6 changed files with 25 additions and 18 deletions
@@ -29,7 +29,9 @@ namespace FineUIPro.Web.JDGL.Check
private void BindGrid()
{
var table = BLL.WorkPackageService.GetAllTreeDataTable2(this.CurrUser.LoginProjectId, string.Empty,this.txtStartTime.Text.Trim(),this.txtEndTime.Text.Trim(),this.rblIsOK.SelectedValue);
Grid1.DataSource = table;
Grid1.RecordCount = table.Count;
var table2 = this.GetPagedDataTable(Grid1, table);
Grid1.DataSource = table2;
Grid1.DataBind();
for (int i = 0; i < this.Grid1.Rows.Count; i++)
{
@@ -66,6 +68,11 @@ namespace FineUIPro.Web.JDGL.Check
}
}
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
{
BindGrid();
}
#region
/// <summary>
/// 保存按钮