Newbie question: Null DateTime Fields


Author
Message
Ben Kim
Ben Kim
StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)
Group: Forum Members
Posts: 99, Visits: 253
Hello,

I am throwing together a proof-of-concept application using StrataFrame.  We have several fields in our SQL datatables that allow null's (in fact most of them).  

Say I have a birthdate field in a personmaster table.   If the value is null, the bo throws an exception when I navigate to the record.  I have tried setting the alternate value on null to several things such as System.DBNull and System.DBNull.Value etc.  However it will not compile.

How does everyone else handle null values in their BO's especially datetime type fields?

Thanks!

Ben, Emergitech

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Ben Kim - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Ben Kim - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Ben Kim - 19 Years Ago
                         I don't think the two are related. A BO field has no control of the...
Trent L. Taylor - 19 Years Ago
                             Ben, We fixed a bug the other day that was affecting the IsDirty of...
Trent L. Taylor - 19 Years Ago
                                 Wonderful. I can wait for the fix since I am just evaluating and...
Ben Kim - 19 Years Ago
                                     Just so it makes a little sense....we enhanced the DateTimePicker in...
Trent L. Taylor - 19 Years Ago
                                         Lucky me! :D On a lighter note, thank you for developing such a...
Ben Kim - 19 Years Ago
                                             We think we are familiar with our competitors but are always willing...
Trent L. Taylor - 19 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search