Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Handling date fields from Visual FoxPro
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01129644
Message ID:
01130416
Vues:
18
Linda,

>I think I understand your instructions but I can't seem to get them to work. When I use the MM .NET busines layer generator, the value of the date field in the entity already has the date of 12/30/1899 and does not evaluate as a null value. (I tested for entityobject.datefield is dbnull and got a warning that it can never be null.) I notice that the business object uses a function GetNonNullableDbValue to load the field value to the entity object. Can I change that to test the value there?

Is the database column nullable?

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform