| 123456789101112131415161718192021222324252627282930313233343536 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Data;
- namespace YTSoft.BaseCallCenter.DAL
- {
- public class Proc_Pagination
- {
- public Proc_Pagination()
- {}
- /// <summary>
- /// 分页获取数据
- /// </summary>
- /// <param name="PageSize"></param>
- /// <param name="PageIndex"></param>
- /// <param name="strWhere"></param>
- /// <returns></returns>
- public DataTable GetListPager(string viewtable,string viewKey,string searchField,string sortStr, string WhereStr, int PageSize, int PageIndex, bool IsCount, out int RecordCount)
- {
- DataTable dt = DBUtility.DbHelperSQL.RunPagination(viewtable,
- viewKey,
- searchField,
- WhereStr,
- sortStr,
- PageSize,
- PageIndex,
- IsCount,
- out RecordCount
- );
- return dt;
- }
- }
- }
|