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.