Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DefaultValue attribute
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
DefaultValue attribute
Versions des environnements
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01319742
Message ID:
01319742
Vues:
54
Hi everybody,

In the UserControl I'd like to set a DefaultValue for the custom date property. I tried DefaultValue(DateTime.Today), but it returns an error in compile time. What should I set as a default value (how can I create some fixed datetime value)?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform