Home / FAQ / ASP.NET / ADO.NET / When I try to enter null value to DateTime field in database it is saved as 1/1/1900 12:00:00 AM
Refer When I try to enter null value for DataTime in Database I get error message ‘String was not recognized as a valid DateTime’ or ‘Value of type ’System.DBNull’ cannot be converted to ’String’’
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with