Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Null datetime fields
Message
From
24/09/2008 12:30:23
 
 
To
24/09/2008 10:41:30
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01350199
Message ID:
01350232
Views:
25
Hi Tracy,

In .Net 2.x+ I use a C# nullable type for this. In C# you can use the "?" shorthand notation to mark the type as nullable:
DateTime? dt = (DateTime?)null;
Bill

>How?
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform