|
|
@@ -51,10 +51,10 @@ namespace CG67.FicheCollege.Entrepot
|
|
|
connexion.Open();
|
|
|
using (OracleCommand command = connexion.CreateCommand())
|
|
|
{
|
|
|
- command.CommandText = "Select ZONE, ANNEE, Sum(TO_NUMBER(NB_ELEVE)) as NBELEVES, Sum(MT_VOTE) AS SUBVENTION from ASTRE.W67_SIC_FICHE_ELU WHERE ANNEE = '2009' GROUP BY ZONE, ANNEE ORDER BY ZONE" ;
|
|
|
+ command.CommandText = "Select ANNEE, ZONE, Sum(TO_NUMBER(NB_ELEVE)) as NBELEVES, Sum(MT_VOTE) AS SUBVENTION from ASTRE.W67_SIC_FICHE_ELU WHERE ANNEE = '2009' GROUP BY ZONE, ANNEE ORDER BY ZONE ";
|
|
|
// WHERE COD_TIERS = @RNE AND ANNEE = @ANNEE";
|
|
|
// command.Parameters.AddWithValue("@RNE", codeAstre);
|
|
|
- // command.Parameters.AddWithValue("@ANNEE", annee.ToString());
|
|
|
+ // command.Parameters.AddWithValue("@ANNEE", annee.ToString());
|
|
|
using (OracleDataReader ds = command.ExecuteReader())
|
|
|
{
|
|
|
|