|
|
@@ -52,9 +52,7 @@ namespace CG67.FicheCollege.Entrepot
|
|
|
using (OracleCommand command = connexion.CreateCommand())
|
|
|
{
|
|
|
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 = '" + annee + "' AND COD_TIERS = '" + codeAstre + "' 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());
|
|
|
+
|
|
|
using (OracleDataReader ds = command.ExecuteReader())
|
|
|
{
|
|
|
|