Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datagrid - blank if zero
Message
De
09/07/2004 15:49:31
Eugenio Casal
Futura Tecnologia Informação Consult Ltd
São Paulo, Brésil
 
 
À
09/07/2004 10:50:30
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00922476
Message ID:
00922685
Vues:
12
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform