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#.



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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.