Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Formatting numeric strings
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00873944
Message ID:
00874118
Vues:
11
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform