Dominique.freyd 16 年之前
父節點
當前提交
72fdd91a14

+ 10 - 10
CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Entrepot/EntrepotEtablissement.cs

@@ -52,7 +52,7 @@ namespace CG67.FicheCollege.Entrepot
             Etablissement resultat = null;
             using (SqlConnection connexion = new SqlConnection(this.ChaineDeConnexion))
             {
-                try
+                //try
                 {
                     connexion.Open();
                     using (SqlCommand command = connexion.CreateCommand())
@@ -155,15 +155,15 @@ namespace CG67.FicheCollege.Entrepot
                         }
                     }
                 }
-                catch
-                {
-                    throw;
-                }
-                finally
-                {
-                    if (connexion.State == ConnectionState.Open)
-                        connexion.Close();
-                }
+                //catch
+                //{
+                //    throw;
+                //}
+                //finally
+                //{
+                //    if (connexion.State == ConnectionState.Open)
+                //        connexion.Close();
+                //}
             }
           
 

+ 5 - 5
CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Service/ServiceFiche.cs

@@ -197,14 +197,14 @@ namespace CG67.FicheCollege.Service
         }
         public static Etablissement GetEtablissementByCodeRNEAndAnnee(string codeRNE, int annee)
         {
-            try
+//            try
             {
                 return EntrepotFactory.GetEntrepotEtablissement().GetByCodeRNEAndAnnee(codeRNE, annee);
             }
-            catch
-            {
-                throw;
-            }
+  //          catch (Exception erreurInterne)
+    //        {
+      //          throw new Exception("Erreur dans GetEtablissementByCodeRNEAndAnnee", erreurInterne); 
+        //    }
         }
         private static XmlNode  GetXml(Object aSerialiser,XmlDocument document)
         {

+ 1 - 1
CG67.FicheCollege.root/CG67.FicheCollege/Web/CG67.FicheCollege.Web/xslt/FicheCollege.xslt

@@ -423,7 +423,7 @@
   
   <xsl:template match="Etablissement/LstEffectif">   
   <img alt="Evolution des effectifs">
-    <xsl:attribute name="src">dummy.histo?l=400&amp;h=400&amp;f=-64&amp;nb=<xsl:value-of select="count(Effectif)"></xsl:value-of>     
+    <xsl:attribute name="src">dummy.histo?l=600&amp;h=400&amp;f=-64&amp;nb=<xsl:value-of select="count(Effectif)"></xsl:value-of>     
       <xsl:for-each select="Effectif">
         <xsl:if test="TypeEffectif='R'">&amp;v<xsl:value-of select ="position()"></xsl:value-of>=<xsl:value-of select="EffectifTotal"/>&amp;c<xsl:value-of select ="position()"></xsl:value-of>=-16776961&amp;t<xsl:value-of select ="position()"></xsl:value-of>=<xsl:value-of select="Annee"/></xsl:if>
         <xsl:if test="TypeEffectif='P'">&amp;v<xsl:value-of select ="position()"></xsl:value-of>=<xsl:value-of select="EffectifTotal"/>&amp;c<xsl:value-of select ="position()"></xsl:value-of>=-65536&amp;t<xsl:value-of select ="position()"></xsl:value-of>=<xsl:value-of select="Annee"/></xsl:if>