i have a text box, control botton and a datetime picker i want that if i write 2 in textbox and press button then datetimepicker auto change the current date and add 2 days in it . i am doing it in c#.net
saj_amo
0
Junior Poster in Training
Recommended Answers
Jump to PostIs this what you are looking for:
dateTimePicker.Value.AddDays(2.0);
All 3 Replies
DdoubleD
315
Posting Shark
ddanbe
2,724
Professional Procrastinator
Featured Poster
saj_amo
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.