Sos 'erreur de conversion en double'

Fermé
Aniakuos - 21 janv. 2011 à 19:29
Bonjour,


j'ai une commande insert
CommandText = "insert into DETAILS_IMMOBILISATION (NUMDETAIL,NUMIMMO,DATE,PRIX,VALCOMPT,AMORTISSNORM,AMORTISSANT,OBSERVATION,SUPPRIME) values ('" & TxtNUMDETAIL.Text & "|" & CmbImmo.SelectedValue & " ','" & CmbImmo.SelectedValue & "','" & DtpDate.Value.Date & "','" & TXtPrix.Text & "','" & TxtValeur.Text & "'," & FormatNumber((TXtPrix.Text * (TxtNbrMois.Text / 12) * (DgvTaux.CurrentRow.Cells(0).Value / 100)), 2) & "','" & FormatNumber((TXtPrix.Text * (TxtNbr.Text / 12) * (DgvTaux.CurrentRow.Cells(0).Value / 100)), 2) & "','" & TxtObservation.Text & "','False')"

lorsque je debogue il me renvoi ce messaj d'erreur
La conversion de la chaîne "11.11" en type 'Double' n'est pas valide.
et je sais pas d'ouvien ce messaje
merci pr votre aide.