|
|
@@ -21,7 +21,7 @@ namespace CG67.FicheCollege.Entrepot
|
|
|
using (SqlCommand command = connexion.CreateCommand())
|
|
|
{
|
|
|
//on récupère les ATC.
|
|
|
- command.CommandText = "Select * from InvestissementImmo Where CodeRNE = @RNE AND Annee = @Annee";
|
|
|
+ command.CommandText = "Select * from InvestissementImmo Where CodeRNE = @RNE AND Annee >= @Annee";
|
|
|
command.Parameters.AddWithValue("@RNE", codeRNE);
|
|
|
command.Parameters.AddWithValue("@Annee", annee);
|
|
|
using (SqlDataReader dr = command.ExecuteReader())
|