的CustomValidator时间C#.NET [英] CustomValidator time c#.net
本文介绍了的CustomValidator时间C#.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经使用C#.NET。
I have using c#.net.
我有,它应该包含一个时间一个文本框。它需要在24小时格式。
I have a textbox which should contain a time. It needs to be in 24 hour format.
我想用的CustomValidator,但无法在网络上找到任何东西。
I would like to use a CustomValidator but can’t find anything on the net.
在此先感谢您的帮助
克莱尔
推荐答案
有关使用的CustomValidator检查的此链接,但我preFER <一href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.regularex$p$pssionvalidator.aspx"相对=nofollow>常规EX pression验证代替。
For using CustomValidator check this link, but I prefer regular expression validator instead.
检查这个问题有关的时间和普通防爆pression验证验证:
Check this question about validation of time with Regular Expression Validator :
这篇关于的CustomValidator时间C#.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文