These are the two parameters used in sql2005 and .net.but i got values like this.how to solve?
@DTFROM 01/jan/0001
@DTTO 01/jan/0001
Sqldatetime overflow error
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Iftikar HussainRank #423 · 5.9K reputationPosted Jul 21, 2013, 9:51 PM EDT
How you are passing the value from your application to the database?
Regards,
Iftikar
Rohatash KumarRank #12 · 57.7K reputationPosted Jul 21, 2013, 10:06 PM EDT
http://www.c-sharpcorner.com/UploadFile/rohatash/datetime-in-C-Sharp/
Riyaz AkhtarRank #2,275 · 619 reputationPosted Jul 21, 2013, 10:54 PM EDT