자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public DataTable Select() { //这里需要写两个表联合查询 string cmdText = "SELECT empId, empName, empSex, empBirthday,deptName,postName FROM Employee ,Department,Positionwhere Employee.deptId = Department.deptId ANDDepartment.deptId=Position.deptId"; return(Helper.ExecSelect(cmdText, CommandType.Text)); }