in windows application....
Please use the value changed event for the datepicker control....
and use the following in that event...
private void dateTimePicker1_ValueChanged(object sender, EventArgs e)
{
var datepicker = sender as DateTimePicker;
textBox1.Text = datepicker.Value.AddDays(365).ToString();
}
I am not sure, which date picker u r using in the asp web application...
post some piece of code for web, so that i can give u solution for web...
Thanks.