예제 #1
0
 public void innitialiseConnect()
 {
     try
     {
         cnx = new ClsConnection();
         cnx.connecter();
         con = new SqlConnection(cnx.chemin);
     }
     catch (Exception)
     {
         throw new Exception("l'un de vos fichiers de configuration est incorrect");
     }
 }