Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
It's doing it when you call NewRow() on the business object. All of the fields within the row are initialized to blank values, which for a date, is 1/1/1800. You can either set the AllowNullValuesOnNewRows property on the BO to false, and all of the fields will be left with DBNull.Value, or you can set the column to DBNull.Value in the SetDefaultValues() method of the business object (then, the default value of the DB will be used when the records is INSERTed).
|