示例#1
0
        public List <EmployeeTable> getAll(string user, string userId, int page)
        {
            string sqlStr = "delete EmployeeTable where e_Id = " + userId;

            EmployeeTable.delOrUpTable(sqlStr);
            return(EmployeeTable.getAll(page));
        }
示例#2
0
        public List <EmployeeTable> getAll(string user, string userId, int page, string comName, string RealName, string Address, string comPhone)
        {
            string sqlStr = "update EmployeeTable set e_Name = '" + comName + "',e_RealName = '" + RealName + "',e_Address = '" + Address + "',e_Phone = '" + comPhone + "' where e_Id = " + userId;

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