nazimamin/HotelManagement

DateTimePicker issue

Closed this issue · 3 comments

I am facing a challenge if i try to log in using the admin credential..It throws a SystemAargument out of range exception Value of 12/20/2017 '12:00:00' is not valid for MinDate. MinDate must be less than MaxDate

change max value in

image

@KUDANDOU I don't have access to a Windows machine to test it. But, @ElAngeluz Yeap! You can also change MaxDate and MinDate. So set MaxDate = new System.DateTime(2015, 4, 27, 23, 59, 0, 0) to a year from now like MaxDate = todayDate.AddYears(1) and all the MinDate to today's date. Feel free to send in a PR.

@nazimamin i dd resolve the error its now working.......also noticed the error of not sedning out smses to clients