Пример #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="pageIndex">页号,从0开始</param>
 /// <param name="pageSize">每页记录数(页尺寸)</param>
 /// <param name="Counts">查询到的记录数</param>
 /// <param name="strWhere">查询条件</param>
 /// <param name="TableSource">表名或视图</param>
 /// <param name="OrderExpression">排序表达式</param>
 /// <param name="Fields">查询字段列表</param>
 /// <returns></returns>
 public DataSet GetListTables(int pageIndex, int pageSize, string tableSource, string strWhere, string OrderExpression, string Fields, ref int Counts)
 {
     return(ListPage.GetListPages(pageIndex, pageSize, tableSource, strWhere, OrderExpression, Fields, ref Counts));
 }
Пример #2
0
 public DataSet GetListPageStoreProcedure(string conStr, int page, int pageSize, string tableSource, string whereValue, string OrderExpression, string Fields, UserIDOP userID, ref int Counts)
 {
     return(ListPage.GetListPages(conStr, page, pageSize, tableSource, whereValue, OrderExpression, Fields, userID, ref Counts));
 }
Пример #3
0
 /// <summary>
 /// 分页
 /// </summary>
 // public static DataSet GetListPageStoreProcedure(int page, int pageSize, string tableSource, string whereValue, string OrderExpression, string Fields, ref int Counts)
 public DataSet GetList(int pageindex, int pagesize, ref int Counts, string strWhere)
 {
     return(ListPage.GetListPageStoreProcedure(pageindex, pagesize, "U_Admin", strWhere, ref Counts));
 }
Пример #4
0
 public int GetLsh(string connStr, ref Int64 Orderlsh)
 {
     return(ListPage.GetLsh(connStr, ref Orderlsh));
 }