예제 #1
0
 public static int nbtour() throws Exception {
   int nombre = 0;
   ResultSet resultat =
       database.selecttournois(
           "select numtour from tournois where nom = '" + Tournois.getNom() + "'");
   while (resultat.next()) {
     nombre = resultat.getInt("numtour");
   }
   return nombre;
 }