I am using the DateTimePicker
Now, how do I increase the dateValue by click on the Button
EX:
dtp.DateValue = 1999/8/20
click on Button ----------> dtp.DateValue = dtp.DateValue + x
x is: (number)
thanks
Try
dateTimePicker1.Value = dateTimePicker1.Value.AddDays(1);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With