shangrilla
Programmer
I am using a RangeValidator control to validate if a Date is greater than today's date.
RangeValidator1.MaximumValue = Now.Date
RangeValidator1.MinimumValue = Now.AddYears(-150).Date
It accepts all values > 2000 as 02/02/00 or 02/02/2000
, but doesn't accept 02/02/99. I have to enter 02/02/1999
Any ideas on how to fix this.
Thanks
RangeValidator1.MaximumValue = Now.Date
RangeValidator1.MinimumValue = Now.AddYears(-150).Date
It accepts all values > 2000 as 02/02/00 or 02/02/2000
, but doesn't accept 02/02/99. I have to enter 02/02/1999
Any ideas on how to fix this.
Thanks