Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datagrid - blank if zero
Message
From
09/07/2004 15:49:31
Eugenio Casal
Futura Tecnologia Informação Consult Ltd
São Paulo, Brazil
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00922476
Message ID:
00922685
Views:
14
Hi Kevin,

>I always wondered if there was an easier way, but I never found a property or format mask that I could set.

The property that you have to set is the BoundColumn.DataFormatString.

Take a look at ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/cpref/html/frlrfSystemWebUIWebControlsBoundColumnClassDataFormatStringTopic.htm

The value would be something like {0:#,###,###}. It depends on the data range.

Regards,

Eugênio
Previous
Reply
Map
View

Click here to load this message in the networking platform