Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Certification Visual Studio > LINQ
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 754 of 795
Post > Topic >>

LINQ

by =?Utf-8?B?ZGZyb2VobGk=?= <dfroehli@[EMAIL PROTECTED] > Jul 2, 2008 at 02:06 PM

I am trying to insert a record using LINQ.

I have a datetime column on the table that allows NULLS.

When I try to insert a row with no datetime (DateTIme.MinValue) I get:

SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 
11:59:59 PM

The property is:

public DateTime? NewDate
 {get;  set;}

Does anyone know how to get this to work in C#?

Thanks in advance for any assistance.
 




 1 Posts in Topic:
LINQ
=?Utf-8?B?ZGZyb2VobGk=?=   2008-07-02 14:06:02 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 10:42:21 CST 2008.