Esempio n. 1
0
        public static DataTable SelTop(int psize, string pk, string fields, string tbname, string where, string order, List <SqlParameter> sp = null)
        {
            PageSetting config = new PageSetting()
            {
                cpage = 1, psize = psize, pk = pk, t1 = tbname, fields = fields, where = where, order = order, spList = sp
            };

            return(DB.SelTop(config));
        }