public String getDataReg() throws SQLException, ClassNotFoundException {
        String sts = new String();
        Connection conPol = conMgr.getConnection("PD");
        if (conPol == null) {
            throw new SQLException("Numero Maximo de Conexoes Atingida!");
        }
        try {
            Statement stmt = conPol.createStatement();

            String strQl = "SELECT MIN(datareg) AS dt_min, "
                    + "MAX(datareg) as dt_max "
                    + "FROM tb_assistec_rep;";

            ResultSet rs = stmt.executeQuery(strQl);

            Calendar calMin = Calendar.getInstance();
            Calendar calMax = Calendar.getInstance();

            while (rs.next()) {

                calMin.setTimeInMillis(rs.getTimestamp("dt_min").getTime());
                calMax.setTimeInMillis(rs.getTimestamp("dt_max").getTime());

                while (calMax.compareTo(calMin) == 1) {
                    sts = sts + "<option>" + (calMax.get(Calendar.MONTH) + 1) + "/" + calMax.get(Calendar.YEAR) + "</option>";
                    calMax.add(Calendar.MONTH, -1);
                }
            }
        } finally {
            if (conPol != null) {
                conMgr.freeConnection("PD", conPol);
            }
        }
        return sts;
    }