Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DefaultValue attribute
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
DefaultValue attribute
Environment versions
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01319742
Message ID:
01319742
Views:
53
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
Next
Reply
Map
View

Click here to load this message in the networking platform