public ResultSet searchRecord(String studentID, String classID, Date date) throws ClassNotFoundException, SQLException {
        con = DBConnection.getConnection();
        String temp = null;
        if (studentID != null && classID != null && date != null) {
            temp = "studentID='" + studentID + "' and classID='" + classID + "' and date='" + date + "'";
        } else if (studentID != null) {
            temp = "studentID='" + studentID + "'";
        } else if (classID != null) {
            temp = "classID='" + classID + "'";
        } else if (date != null) {
            temp = "date='" + date + "'";
        }
        String query = "SELECT * FROM specialInfo WHERE " + temp;
        rs = DBHandler.getData(con, query);
        return rs;

    }