Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question on interpreting 'blank dates' from SQL Server..
Message
De
07/03/2003 19:47:37
 
 
À
07/03/2003 17:59:06
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
00763094
Message ID:
00763145
Vues:
16
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform