Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Storing empty Dates to variables
Message
De
24/11/2003 17:34:20
Sergio Ortiz
Tek Services Group, Llc
Hollywood, Floride, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Storing empty Dates to variables
Divers
Thread ID:
00853097
Message ID:
00853097
Vues:
43
Hello All,

I am using a foxpro database in my code to populate a dataset. One of the foxpro tables contains a date type field and some of the records contains empty dates.

Looking at the content of the dataset I see that the empty dates are converted to the following date :
1899-12-30T00:00:00.0000000-05:00
I am converting a foxpro program to a c# class and one of the lines has the following assignment :
ldRED = CTOD("00/00/00")
Here is my question :
Can I assign an empty datetime value to a DateTime variable in c#?

Thanks,
Sergio
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform