|
|
@@ -20,8 +20,8 @@ namespace CG67.FicheCollege.Entrepot
|
|
|
connexion.Open();
|
|
|
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 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("@Annee", annee);
|
|
|
using (SqlDataReader dr = command.ExecuteReader())
|