市长热线演示版

PagerBLL.cs 802B

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