Example #1
0
        public void Initialize(IDBAccesser accesser, int page_Size, string whereStr, string[] fields)
        {
            this.theParas          = new DataPaginationParas(accesser.ConnectString, accesser.DbTableName, whereStr);
            this.theParas.Fields   = fields;
            this.theParas.PageSize = page_Size;

            this.fieldStrs = this.theParas.GetFiedString();
            this.adoBase   = new SqlADOBase(this.theParas.ConnectString);
        }
Example #2
0
 public void Initialize(DataPaginationParas paras)
 {
     this.theParas  = paras;
     this.fieldStrs = this.theParas.GetFiedString();
     this.adoBase   = new SqlADOBase(this.theParas.ConnectString);
 }