DateTime Picker does not support

this.dtmCargoExpires.MinDate = _Vendor.Cargo.Expires;

this.dtmCargoEffective.MinDate = _Vendor.Cargo.Effective;

I have these properties for both these DateTimePickers set for "VALUE" and i got an exception saying that my value should be between MINDATE and MAXDATE not when i set it to those i get another exception saying that it does not support values before 1/1/1753 parameter named VALUE......I thought Datetimepicker defaulted to the date of today




Answer this question

DateTime Picker does not support

  • Tilfried Weissenberger

    You are correct... DateTimePicker does default to DateTime.Now when it is created... what are the dates that you are trying to set

  • Avner Kashtan

    I just converted my preperties to 1,1,1753 and it worked! thanks

  • DateTime Picker does not support