Click here to Skip to main content
15,851,242 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
when i select a date from calendar it counts next date from selected date.
i want a count from select date.
example- i select a date 15th DEC and i want next 3rd date from selected give
18th DEC but i want working i want ans. is 17th DEC.

i am using this code.
dt = dt.AddDays(Convert.ToInt32(txtadd.Text))

where dt is date time.

Please help me.
Updated 27-Dec-11 4:07am
#realJSOP 27-Dec-11 9:07am    
Your question makes no sense at all.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900