Pavithra L

Pavithra L

  • NA
  • 336
  • 60.3k

How to generate end date in datetime picker automatically

Nov 16 2015 12:54 AM
Hai,
 
Here am using c# windows application , in this project I want to calculate the end date.
Here am using textbox for enter the total number of months and one datetimepicker for start date  after I fill these details the second datetime picker will show the exact date based on the textbox value and datetimepicker1.
 
How can I do this in my project.
 
For an example:
 
Textbox1: 11 ( manual entry)
 
DatetimePicker1: 16-11-2015(manual entry)
 
DatetimePicker2:16-10-2016 (system generate)
 
Please anybody help this question, it is urgent now . 

Answers (3)