示例#1
0
        public List <StudentTable> getAll(string user, string userId, int page, string stuName, string Professional, string school, string Phone)
        {
            string sqlStr = "update StudentTable set s_UserName = '******',s_Professional = '" + Professional + "',s_Department = '" + school + "',s_Phone = '" + Phone + "' where s_Id = " + userId;

            StudentTable.delOrUpTable(sqlStr);
            return(StudentTable.getAll(page));
        }
示例#2
0
        public List <StudentTable> getAll(string user, string userId, int page)
        {
            string sqlStr = "delete StudentTable where s_Id = " + userId;

            StudentTable.delOrUpTable(sqlStr);
            return(StudentTable.getAll(page));
        }
示例#3
0
 public List <StudentTable> getAll(string user, int page, string search)
 {
     return(StudentTable.getAll(page, search));
 }
示例#4
0
 public List <StudentTable> getAll(string user, int page)
 {
     return(StudentTable.getAll(page));
 }