2009年8月26日

2位小数正则表达式

摘要: 项目中有一栏位只能是0.xx 的两位小数。用正则表达式check :^0.[0-9]{2}$.因为这个栏位非必填,采用asp.net 自带的RegularExpressionValidator在前台Check.RegularExpressionValidator只在有输入的情况下才起作用。 <asp:RegularExpressionValidator ID="revTFT" runat="... 阅读全文

posted @ 2009-08-26 10:46 AndyCai 阅读(4127) 评论(0) 推荐(0) 编辑

导航