提交代码

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
@@ -132,14 +132,21 @@ namespace FineUIPro.Web.JDGL.Check
{
errorInfos = string.Empty;
string Id = Request.Params["Id"];
BindGrid();
}
}
protected void btnShow_Click(object sender, EventArgs e)
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
{
BindGrid();
}
private void BindGrid()
{
DataTable table = BLL.WorkPackageService.GetAllTreeDataTable(this.CurrUser.LoginProjectId, string.Empty, null, null, "0");
Grid1.DataSource = table;
Grid1.RecordCount = table.Rows.Count;
var table2 = this.GetPagedDataTable(Grid1, table);
Grid1.DataSource = table2;
Grid1.DataBind();
for (int i = 0; i < this.Grid1.Rows.Count; i++)
{