Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data grid money format ?!?!
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00839982
Message ID:
00839989
Views:
27
Hi Joe,

You can set the DataFormatString for the BoundColumn to:

{0:c}

Which will format the data as currency (thereby putting in the $, decimal place, and appropriate digits after the decimal place).


>I have a grid with a dynamic SQL that has a SQL data type 'money' that insists on the full display of 4 decimal places to the left. How can I format the col on the fly?
>
>My thanks in advance,
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform