hi there,
i have two datetime pickers in C#. one for the start date and the other for the end date. when a user selects a value in the start datetime picker it should validate that the user cannot select for a date that have passed. how to validate this.

and also when then user selects a value in the second datetime picer it should validate that the users cannot select the start datetime that was entered or a past date. how can i validate this in C#.


8 Years
Discussion Span
Last Post by __avd


Do not flood the forum by posting the same question more than once (ie in multiple forums). Do not piggyback threads (aka "hijack" threads) by posting your question as a reply to another question.

Thread Locked.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.