So if DateTime is suppose to be Nullable in 2.0 why do I get this error (nullable value types is suppose to be something support in 2.0 I believe)?
Basically I have a form where I'm updating the date, the date can be null in the database if it's not used, meaning I must be able to set the field to null from the front end application.
Basically what I'm doing in my DataList is if the text box that represents the Date is blank, I don't set the Update Parameter. I have tried the 'ConvertEmptyStringToNull' property to both true and false, both get the same errors.
I hate to have to do a bunch of special if statements looking for DateTime.MinValue - but if I have to do it so be it. But now in my stored procedure I have to look for that value and set the value manually to null in the stored procedure; which is just plain bad.
Any help would be appreciated.
Basically I have a form where I'm updating the date, the date can be null in the database if it's not used, meaning I must be able to set the field to null from the front end application.
Basically what I'm doing in my DataList is if the text box that represents the Date is blank, I don't set the Update Parameter. I have tried the 'ConvertEmptyStringToNull' property to both true and false, both get the same errors.
I hate to have to do a bunch of special if statements looking for DateTime.MinValue - but if I have to do it so be it. But now in my stored procedure I have to look for that value and set the value manually to null in the stored procedure; which is just plain bad.
Any help would be appreciated.