when i select the Start date and Automatically End date will add 2 years plus 1 day...So how to do??????
Select the start datepicker and on the properties page, go to "Events" and double click "Value Changed" event (this is going to create a method for the dtp). Place this code inside of your method:
//Remove a day from your start date
DateTime dayBefore = dtpStartDate.Value.Subtract(TimeSpan.FromDays(1));
//Add 2 years from the day before your start date
dtpEndDate.Value = dayBefore.AddYears(2);
It should work....