Hi, ddt
as DateTime is value type, you can't use null with it. However, you can
always check if it is equal to DateTime.MinValue and act accordingly. It's
not that much difference with checking for null, right?
HTH
Alex
"ddt" <an*******@discussions.microsoft.com> wrote in message
news:A9**********************************@microsof t.com...
Hi,
I have a object which has a date type property, but if I not assign any
value to it, it always display "#12:00:00 AM#" or "1/1/0001". How can I
leave it as empty or null/dbnull value?
Thanks in advance.
ddt