Common/Pager2k.cs

(开头部分) 10KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;

namespace Common
{
    public class Pager2k
    {
        #region 存储过程名

        private const string P_SYS_PAGING = "P_SYS_PAGING";

        #endregion

        #region 属性
        public enum Sort
        {
            asc = 0,
            desc = 1,
        }

        string _orderField;
        Sort _sort = Sort.asc;
        string _tableName;
        string _wherestr = "";
        int _pagesize;
        int _pageindex;
        string _fldname;
        string _fields;
        string _conditionStr;
        public string Fields
        {
            get
            {
                return _fields;
            }
            set
            {
                _fields = value;
            }
        }
        public string FldName
        {
            get
            {
                return _fldname;
            }
            set
            {
                _fldname = value;
            }
        }
        public int PageIndex
        {

            get
            {
后面还有 273 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。