Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formatting numeric strings
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00873944
Message ID:
00874118
Views:
12
David,

Thanks, this worked great!

Kind Regards,

Mat

>You are calling the Object.ToString method which has no overload with one parameter. First you must cast the object to whatever type it is, then call the ToString method.
>
>For example, if it is a decimal, then try this:
>
>this.dollarString = ((decimal)(ds.Tables[0].Rows[0][0])).ToString("C");
>
>
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Previous
Reply
Map
View

Click here to load this message in the networking platform