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

thanxxxxxx

Recommended Answers

All 2 Replies

@judithSampathwa.

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.