Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLEDb Foxpro Date Problem
Message
From
15/02/2006 07:59:09
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
ASP.NET
Category:
Databases
Miscellaneous
Thread ID:
01096093
Message ID:
01096442
Views:
15
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform