Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLEDb Foxpro Date Problem
Message
De
15/02/2006 07:59:09
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Divers
Thread ID:
01096093
Message ID:
01096442
Vues:
14
>Hello Cindy, the reason I convert them ( the dates ) to strings is for formatting reasons to add them to a ListView.
>
>
>If I query the DataSet the empty dates have a
>
>Using version 7 of VFPOLEDB
>DataType of "System.DateTime" with a value of "System.DBNull"
>
>Using version 9 of VFPOLEDB
>DataType of "System.DateTime" with a value of "12/30/1899"
>
>if you need any more info please let me know

Pete,
Are you sure you are testing these against same data? If datetime field accepts nulls (it should) then you would get System.DBNull. Otherwise 'empty' datetimes map to base date '12/30/1899'.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform