Celine.meneu 16 anni fa
parent
commit
29c7f318ec

+ 2 - 1
CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Entrepot/EntrepotProjetPilote.cs

@@ -20,7 +20,8 @@ namespace CG67.FicheCollege.Entrepot
                     connexion.Open();
                     connexion.Open();
                     using (SqlCommand command = connexion.CreateCommand())
                     using (SqlCommand command = connexion.CreateCommand())
                     {
                     {
-                        command.CommandText = "SELECT Libelle from ProjetPilote INNER JOIN Etablissement_ProjetPilote ON (ProjetPilote.Id = Etablissement_ProjetPilote.IdProjetPilote) WHERE CodeRNE = @RNE AND Participer = 'True' AND Annee = @Annee";
+//                        command.CommandText = "SELECT Libelle from ProjetPilote INNER JOIN Etablissement_ProjetPilote ON (ProjetPilote.Id = Etablissement_ProjetPilote.IdProjetPilote) WHERE CodeRNE = @RNE AND Participer = 'True' AND Annee = @Annee";
+                        command.CommandText = "SELECT Libelle from ProjetPilote INNER JOIN Etablissement_ProjetPilote ON (ProjetPilote.Id = Etablissement_ProjetPilote.IdProjetPilote) WHERE CodeRNE = @RNE AND Annee = @Annee";
                         command.Parameters.AddWithValue("@RNE", codeRNE);
                         command.Parameters.AddWithValue("@RNE", codeRNE);
                         command.Parameters.AddWithValue("@Annee", annee);
                         command.Parameters.AddWithValue("@Annee", annee);
                         using (SqlDataReader dr = command.ExecuteReader())
                         using (SqlDataReader dr = command.ExecuteReader())