How to validate valid datetime in c# before submitting to server<>
This question already has an answer here:
- Error - SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM 12 answers
I think you should parse the DateTime value to a string, after the TryParse and before passing it to the command query object as an argument.