[Mono-devel-list] DataContainer and NULL DateTime

S Umadevi sUmadevi at novell.com
Wed Jul 7 06:39:04 EDT 2004


Thanks for the patch
 Patch checked in..

Regards
Uma

>>> Aleksey Demakov <avd at online.nsk.su> 7/7/2004 5:18:38 AM >>>
Hi all,

I found that my DbDataAdapter cannot Fill() a table
that contains a NULL in a datetime column.

I tracked this problem down to the
DateTimeDataContainer.SetItemFromDataRecord() method.
It doesnt't check for DBNull before getting the
DateTime value although in other places e.g. in
StringDataContainer such check exists.

Please review the attached fix.

Regards,
Aleksey




More information about the Mono-devel-list mailing list