>Simple question:
>
>I have an ASP.NET app where the user will enter a date range for a report.
>There are two textboxes for date from and to.
>
>I get the dates as text. I am adding a custom validator.
>What's the best/easiest way to test entered dates are valid? (C# 2.0)
By not allowing users to enter a date :) You could use the datetime picker (but I guess you should still validate just in case).
Semper ubi sub ubi.