Hi , Jason , Thanks for reply. Yes the matter is clear we need to assign datetime.minvalue; then need to find in validation , if minvalue then assign null while storing in databse; Thnaks Bye
Jason Handby <[EMAIL PROTECTED]> wrote: 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 " on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] cribe> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . ________________________________ [Non-text portions of this message have been removed] Yahoo! Groups Links Arindam Chakraborty Software Developer, Mumbai, India --------------------------------- Yahoo! India Matrimony: Find your partner now. [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/
