1
This commit is contained in:
@@ -89,14 +89,11 @@ namespace FineUIPro.Web.DataShow
|
||||
{
|
||||
finalQuery = finalQuery.Where(x => x.PostType == Const.PostType_1);
|
||||
}
|
||||
var ssss = finalQuery.Count();
|
||||
|
||||
DataTable tb = this.GetPagedDataTable(Grid1, finalQuery);
|
||||
// 2.获取当前分页数据
|
||||
//var table = this.GetPagedDataTable(Grid1, tb1);
|
||||
DataTable tb = this.LINQToDataTable(finalQuery);
|
||||
|
||||
Grid1.RecordCount = tb.Rows.Count;
|
||||
var table = this.GetPagedDataTable(Grid1, tb);
|
||||
//Grid1.RecordCount = finalQuery.Count();
|
||||
Grid1.DataSource = table;
|
||||
Grid1.DataBind();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user