wet-boew / web-reporting

1 stars 2 forks source link

Add server-side date validation to prevent SQL error #16

Open LaurentGoderre opened 11 years ago

LaurentGoderre commented 11 years ago

Entering a valid date that is outside of the SQL date range causes a database error. The .NET should validate not only the format but also that the date is within a certain range (based on SQL Server).

LaurentGoderre commented 11 years ago

To clarify, for example a date of 3013 should not be accepted.