Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on interpreting 'blank dates' from SQL Server..
Message
From
07/03/2003 19:47:37
 
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00763094
Message ID:
00763145
Views:
17
Kevin,

We handle it this way: we leave the data as is in the table, but handle how it's displayed in a custom date control. You *do* still have to write code that checks for that, but you do it only when it's displayed in the UI.

~~Bonnie


>Is there any way to easily interpret a 'blank date' value from a SQL Server table into an ADO.NET table?
>
>It seems that blank dates come back as 1/1/1900. Other than writing code that checks for that, is there a better way to handle this?
>
>Thanks,
>Kevin
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform