我想验证时间开始和时间结束。时间格式如此2:15:00 AM我想确保时间结束必须大于或等于时间开始。时间比较验证器
时间开始会从DropDownListHourStart(1-12)和DropDownListMinuteStart(1-59)和DropDownListSecondStart(00)和DropDownListAMPMStart(AM-PM)
时间结束从DropDownListHourEnd获取时间的时间(1-12)和DropDownListMinuteEnd(1-59)和DropDownListSecondEnd(00)和DropDownListAMPMEnd(AM-PM)
我想检查时间结束是否等于或大于时间。你能告诉我任何时间验证技术吗?无论是jQuery,JavaScript还是ASP.NET控件验证器。谢谢。
http://stackoverflow.com/questions/497294/how-can-i-use-comparevalidator-for-times-without-dates – jjj 2010-01-31 08:48:47
可以在JavaScript中比较它作为字符串..没有comparevalidator – jjj 2010-01-31 08:51:06