Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SP to return a cursor
Message
From
05/08/2009 16:59:26
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
01416077
Message ID:
01416318
Views:
41
>>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform