4
Reply

How to find future date by entering days?

Mayank Jani

Mayank Jani

Feb 17 2017 1:59 PM
246
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)