暂无描述

PagerBLL.cs 824B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Data;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace CallCenterApi.BLL
  8. {
  9. public class PagerBLL
  10. {
  11. /// <summary>
  12. /// 分页获取数据
  13. /// </summary>
  14. /// <param name="PageSize"></param>
  15. /// <param name="PageIndex"></param>
  16. /// <param name="strWhere"></param>
  17. /// <returns></returns>
  18. public static DataTable GetListPager(string TableName, string PK, string Fields, string WhereStr, string OrderStr, int PageSize, int PageIndex, bool IsCount, out int RecordCount)
  19. {
  20. DataTable dt = DAL.PagerDAL.GetListPager(TableName, PK, Fields, WhereStr, OrderStr, PageSize, PageIndex, IsCount, out RecordCount);
  21. return dt;
  22. }
  23. }
  24. }