Hi Arindam,
 
 
DateTime is a value type, not a reference type. You can only assign null
to properties of reference type.
 
 
 
Jason
 


________________________________

        From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Arindam
        Sent: 15 September 2005 12:22
        To: [email protected]
        Subject: [AspNetAnyQuestionIsOk] (2nd time ) assign Null value
to a datetime property
        
        
        
        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 now.
        
        [Non-text portions of this message have been removed]
        
        
        
________________________________

        YAHOO! GROUPS LINKS 


                
        *        Visit your group "AspNetAnyQuestionIsOk
<http://groups.yahoo.com/group/AspNetAnyQuestionIsOk> " on the web.
                  
        *        To unsubscribe from this group, send an email to:
                 [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
cribe> 
                  
        *        Your use of Yahoo! Groups is subject to the Yahoo!
Terms of Service <http://docs.yahoo.com/info/terms/> . 


________________________________




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



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/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