Print Page | Close Window

DATAGRID data formatting expression

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: ASP.NET Discussion
Forum Description: Discussion and chat on ASP.NET related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=5454
Printed Date: 29 March 2026 at 7:01pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: DATAGRID data formatting expression
Posted By: pnp!
Subject: DATAGRID data formatting expression
Date Posted: 02 September 2003 at 1:43pm

I've a boundcolumn in a datagrid (I get it from a 'money' field in sql server).
It's displayed in the datagrid as: (i.e.) 13214,08
But I want to display it as: 13.214,08
With dots for the thousands and comma for the decimals.

Do someone know how's the formatting expression I've to use so as to have the number that way?

Thanks in Advance

Pablo Pecora
Banco Itaś - Argentina




Replies:
Posted By: Diep-Vriezer
Date Posted: 02 September 2003 at 2:24pm
You could count the numbers until the ~,~ sign, and make something out of that. Myself? Yes, it is possible. I just don't have time to look it up, since I'm pretty tired and bored of homework ().

Maybe you should look in the MSDN library

** A P2P Client can download this with ease, not naming a popular one, since they might scan this... **

-------------
Gone..



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net