提交代码
This commit is contained in:
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user