Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to automatically treat null as '' ?
Message
De
05/10/2012 18:58:21
 
 
Information générale
Forum:
ASP.NET
Catégorie:
MVC
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01554434
Message ID:
01554435
Vues:
66
This message has been marked as the solution to the initial question of the thread.
Try the DisplayFormat attribute with NullDisplayText set to an empty string: http://msdn.microsoft.com/en-us/library/system.componentmodel.dataannotations.displayformatattribute.aspx
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform