Thank you for the solution,
I am doing that in ASP.NET, but the calendar is shown not like windows application, i mean not as a list box. The whole view of calendar is shown.
The question is, am trying to do the samething in asp.net, but it is not working.
my code is like,
1)DateTime modifiedDate = DateTimePicker1.Value.AddDay(14);
when the user picks a date the value will be bosted by 14
2) the i have a list box right after the DateTime picker and contain 1 to 30 hen wthe user picks a number like 5
then the value of the DateTime picker is redused by 5.
it means the result shows in another windows, like form 2.
my code is, when the user click the butten
txt1.dtxtc.Text = modifiedDate.ToShortDateString();
but all are mess