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)); }
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)); }
public List <StudentTable> getAll(string user, int page, string search) { return(StudentTable.getAll(page, search)); }
public List <StudentTable> getAll(string user, int page) { return(StudentTable.getAll(page)); }