You can't. It's a structure.

To indicate a null, I set the value to DateTime.MinValue. When my data 
access methods see a datetime with this value the convert it back to null 
for storage in the database.

On 9/8/05, Arindam <[EMAIL PROTECTED]> wrote:
> 
> 
> Hi
> 
> If I want to assign Null value to a datetime property
> i have tried both
> System.DBNull.Value and
> null ,
> 
> getting error , how can i assign a null value to a datetime property ?
> 
> 
> 
> Arindam Chakraborty
> Software Developer,
> Mumbai,
> India
> 
> 
> 
> 
> 
> ---------------------------------
> Yahoo! India Matrimony: Find your partner online.
> 
> [Non-text portions of this message have been removed]
> 
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 


-- 
Dean Fiala
Very Practical Software, Inc
http://www.vpsw.com


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to