Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SP to return a cursor
Message
De
05/08/2009 16:59:26
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
01416077
Message ID:
01416318
Vues:
38
>>>BTW, see answers on your formatting question here
>>>
>>>http://forum.lessthandot.com/viewtopic.php?f=39&t=7043
>>>
>>>myvalues.ToString("$#0.00")
>>
>>This doesn't work
>>RetVal += "<td>" + oReader("thisyear").ToString("{0:C}") + "</td>"
>>and neither does this
>>RetVal += "<td>" + oReader("thisyear").ToString("$#0.00") + "</td>"
>>
I'd be happy with just commas.
>
>Ok, did you make it work?

No, I took the question to NET forums. Both of the above attempts raise an error about casting between string and integer. DOesn't make any sense to me cause without the format code it works fine.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform