Пример #1
0
        //public DataSet searchAdmin(admin admin)
        //{
        //    DALadmin daladmin = new DALadmin();
        //    return daladmin.searchAdmin(admin);
        //}

        public DataSet adminlist(int pageindex, int pagesize, string table)
        {
            DALadmin daladmin = new DALadmin();
            DataSet  ds       = daladmin.adminlist(pageindex, pagesize, table);

            return(ds);
        }
Пример #2
0
        public DataSet S_admin(int pageindex, int pagesize, string table, string name)
        {
            DALadmin daladmin = new DALadmin();
            DataSet  ds       = daladmin.S_admin(pageindex, pagesize, table, name);

            return(ds);
        }
Пример #3
0
        public int s_admin(string name)
        {
            DALadmin daladmin = new DALadmin();

            return(daladmin.s_admin(name));
        }
Пример #4
0
        public int admin()
        {
            DALadmin daladmin = new DALadmin();

            return(daladmin.admin());
        }
Пример #5
0
        public SqlDataReader readAdmin(admin admin)
        {
            DALadmin daladmin = new DALadmin();

            return(daladmin.readAdmin(admin));
        }
Пример #6
0
        public SqlDataReader _login(admin admin)
        {
            DALadmin daladmin = new DALadmin();

            return(daladmin._login(admin));
        }
Пример #7
0
        public int updateAdmin(admin admin)
        {
            DALadmin daladmin = new DALadmin();

            return(daladmin.updateAdmin(admin));
        }
Пример #8
0
        public DataSet selectAdmin(int pageindex, int pagesize, string table)
        {
            DALadmin daladmin = new DALadmin();

            return(daladmin.selectAdmin());
        }
Пример #9
0
        public int deleteAdmin(admin admin)
        {
            DALadmin daladmin = new DALadmin();

            return(daladmin.deleteAdmin(admin));
        }
Пример #10
0
        public int insertAdmin(admin admin)
        {
            DALadmin daladmin = new DALadmin();

            return(daladmin.insertAdmin(admin));
        }
Пример #11
0
        public SqlDataReader checkAdmin(admin admin)
        {
            DALadmin daladmin = new DALadmin();

            return(daladmin.checkAdmin(admin));
        }