Permalink
Browse files

Corrige bug du nombre a virgule dans valeur de fiche et ajoute une pa…

…ge Default.aspx qui redirige vers Accueil.aspx
  • Loading branch information...
1 parent 009a04a commit b43be8c5b81722bfade2f0fce7d9f00e84ec5d3a @coylz coylz committed Dec 11, 2012
View
BIN contenu/HobbyCartes/HobbyCartes/img/Thumbs.db
Binary file not shown.
View
1 publication/HobbyCartes/HobbyCartes/ClassDiagram1.cd
@@ -1 +0,0 @@
-
View
6 publication/HobbyCartes/HobbyCartes/Default.aspx
@@ -0,0 +1,6 @@
+<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/HobbyCartes.master" %>
+<asp:Content ID="Content1" ContentPlaceHolderID="cphCorps" runat="server">
+ <%
+ Response.Redirect("Accueil.aspx")
+ %>
+</asp:Content>
View
2 publication/HobbyCartes/HobbyCartes/Entites/Fiche.vb
@@ -441,7 +441,7 @@ Namespace Entites
m_annee.Year & "-" & m_annee.Month & "-" & m_annee.Day & """, nomjoueurfi=""" &
m_nomJoueur & """, prenomjoueurfi=""" & m_prenomJoueur & """, nojoueurfi=" &
m_numeroJoueur & ", recruefi=" & m_isRecrue & ", positionfi=""" &
- m_position & """, valeurfi=" & m_valeur & ", etatfi=""" &
+ m_position & """, valeurfi=""" & m_valeur & """, etatfi=""" &
[Enum].GetName(GetType(Etat), m_etat) & """, imagedevantfi=""" & m_imageDevant & """, imagederrierefi=""" & m_imageDerriere & """ " &
"WHERE idfiche=" & m_id, dbCon)
End If
View
10 publication/HobbyCartes/HobbyCartes/HobbyCartes.vbproj
@@ -47,15 +47,6 @@
<OptionInfer>On</OptionInfer>
</PropertyGroup>
<ItemGroup>
- <Reference Include="CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL" />
- <Reference Include="CrystalDecisions.ReportSource, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL" />
- <Reference Include="CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL" />
- <Reference Include="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- </Reference>
- <Reference Include="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- </Reference>
<Reference Include="MySql.Data, Version=6.5.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>MySQL\MySql.Data.dll</HintPath>
@@ -128,6 +119,7 @@
<Content Include="App_Themes\MainTheme\recherche.css" />
<Content Include="App_Themes\MainTheme\master.css" />
<Content Include="App_Themes\MainTheme\accueil.css" />
+ <Content Include="Default.aspx" />
<Content Include="Erreur.aspx" />
<Content Include="FilFiches.aspx" />
<Content Include="img\titre.png" />
View
8 publication/HobbyCartes/HobbyCartes/MembreEditerFiche.aspx.vb
@@ -6,6 +6,7 @@
Imports MySql.Data.MySqlClient
Imports System.IO
+Imports System.Globalization
Public Class MembreEditerFiche
Inherits System.Web.UI.Page
@@ -135,11 +136,14 @@ Public Class MembreEditerFiche
fiche.NomJoueur = txtNomJoueur.Text
fiche.PrenomJoueur = txtPrenomJoueur.Text
fiche.Equipe = New Entites.Equipe(dropDownEquipe.SelectedValue)
- fiche.Numero = txtNumeroJoueur.Text
+ Try
+ fiche.Numero = txtNumeroJoueur.Text
+ Catch ex As Exception
+ End Try
fiche.Position = txtPosition.Text
fiche.Recrue = chkRecrue.Checked
fiche.Etatfiche = System.Enum.Parse(GetType(Entites.Fiche.Etat), dropDownEtat.SelectedValue)
- fiche.Valeur = txtValeur.Text
+ fiche.Valeur = Double.Parse(txtValeur.Text, CultureInfo.InvariantCulture)
fiche.Editeur = New Entites.Editeur(dropDownEditeur.SelectedValue)
fiche.DateCarte = New Date(txtAnnee.Text, 1, 1)
If chkImageAvant.Checked Then
View
15 publication/HobbyCartes/HobbyCartes/Web.config
@@ -4,13 +4,9 @@
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
- <appSettings>
- <add key="CrystalImageCleaner-AutoStart" value="true" />
- <add key="CrystalImageCleaner-Sleep" value="60000" />
- <add key="CrystalImageCleaner-Age" value="120000" />
- </appSettings>
+ <appSettings />
<connectionStrings>
- <add name="hobbycartesConnectionString" connectionString="server=localhost;User Id=mobby;password=hob_cartes5;Persist Security Info=True;database=hobbycartes" providerName="MySql.Data.MySqlClient" />
+ <add name="hobbycartesConnectionString" connectionString="Server=raspi.dlinkddns.com;Database=hobbycartes;Uid=mobby;Pwd=hob_cartes5;" providerName="MySql.Data.MySqlClient" />
</connectionStrings>
<system.web>
<authentication mode="Forms" />
@@ -26,17 +22,14 @@
</buildProviders>
</compilation>
<pages theme="MainTheme" />
- <httpHandlers>
-
- </httpHandlers>
+ <httpHandlers />
</system.web>
<system.serviceModel>
<bindings />
<client />
</system.serviceModel>
<system.webServer>
- <handlers>
- </handlers>
+ <handlers />
<validation validateIntegratedModeConfiguration="false" />
</system.webServer>
</configuration>
View
1 publication/HobbyCartes/HobbyCartes/diagramme_classes.cd
@@ -1 +0,0 @@
-
View
BIN publication/HobbyCartes/HobbyCartes/img/3_profil.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN publication/HobbyCartes/HobbyCartes/img/Thumbs.db
Binary file not shown.
View
0 publication/HobbyCartes/HobbyCartes/salut.txt
No changes.

0 comments on commit b43be8c

Please sign in to comment.