I have two dateTimePicker controls like dtpFrom and dtpTo,
Initially both controls will have current date and when I change the value dtpFrom , then dtpTo also should change to the selected dtpFrom value,How can I implement this?
I have two dateTimePicker controls like dtpFrom and dtpTo,
Initially both controls will have current date and when I change the value dtpFrom , then dtpTo also should change to the selected dtpFrom value,How can I implement this?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Manish Kumar ChoudharyRank #339 · 7.4K reputationPosted Dec 10, 2014, 9:55 PM EST
r u using web from or windows form ?
divyashreenivasangm20 reputationPosted Dec 10, 2014, 10:18 PM EST
Manish Kumar ChoudharyRank #339 · 7.4K reputationPosted Dec 10, 2014, 10:27 PM EST
dtpTo .Value = DateTime.Today.AddDays(-1);//here write whatever u want