Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Handling date fields from Visual FoxPro
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01129644
Message ID:
01170307
Views:
13
When an SQL server column is nullable how do I set/update the entity column value to null?

Thanks, Ted

>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?
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform