提交代码
This commit is contained in:
@@ -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>
|
||||
/// 保存按钮
|
||||
|
||||
Reference in New Issue
Block a user