More on null dates.

Posts   
 
    
jmcervera
User
Posts: 27
Joined: 03-Jun-2004
# Posted on: 03-Mar-2006 13:34:16   

Hello,simple_smile

I am using the Janus UI controls, And It can´t use a value equal to DateTime.MinValue (1/1/0001) It has a property (MinDate) that define the min value as 2/1/0001 (m/d/yyyy). I don´t understand the reason for this.

Is it possible to make this date as the date that reprsents null values in the database? Where can I define this value?

Thanks

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 03-Mar-2006 15:32:43   

Before saving to the database check Entities for this special value, and use the method SetNewFieldValue() to set the corresponding field to null.

Please refer to the following thread: http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=4436