A
Andrew Ducker
The following lines of code causes an exception:
dateTimePicker1.MaxDate = DateTime.Today;
dateTimePicker1.MinDate = DateTime.Today;
The same two lines of code, the other way round, doesn't.
I'm setting both of them programmatically, and I need to be able to
cope with the situation where MaxDate and MinDate are the same (i.e.
only one date is possible).
It's a real pain that they can only be set one way round!
Andy D
dateTimePicker1.MaxDate = DateTime.Today;
dateTimePicker1.MinDate = DateTime.Today;
The same two lines of code, the other way round, doesn't.
I'm setting both of them programmatically, and I need to be able to
cope with the situation where MaxDate and MinDate are the same (i.e.
only one date is possible).
It's a real pain that they can only be set one way round!
Andy D