Mayank Jani

Mayank Jani

  • NA
  • 477
  • 77.4k

How to find future date by entering days?

Feb 17 2017 1:59 PM
Hello,
 
I am learning C# windows application. I have a WinForm which contains a DateTimePicker, a TextBox and a CommandButton.
 
the DateTimePicker shows current date. Now, when a user enters number of days in the TextBox  (e.g. 17) and presses the CommandButton, the result date should be the current date + 17 days.
 
Please help me how can i do this.
 
Thank You.
 
Mayank Jani. 

Answers (4)