我正在尝试设置文本框的最小字符数,如果用户输入的dos未达到设置的最小值,则必须显示错误,在i中我尝试使用<asp:RegularExperssionValidator>
进行此操作,但错误消息显示,我缺少什么或做错了什么?
<asp:TextBox ID="TextBox2" runat="server" CssClass="form-control"></asp:TextBox>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"
ErrorMessage="ID length is Less than 10" ControlToValidate="TextBox2" ValidationExpression=".{10}.*">
</asp:RegularExpressionValidator>
`
答案 0 :(得分:2)
times value size return
2016-06-01 9:07:11 14.2 595 0
2016-06-01 9:08:11 14.2 2505 0.003527341
2016-06-01 9:11:03 14.15 1 0
2016-06-01 9:13:03 14.15 2200 0.003527341
2016-06-01 9:15:04 14.2 480 0
2016-06-01 9:15:04 14.2 2965 0.003527341
2016-06-01 9:15:05 14.2 144 0
2016-06-01 9:20:05 14.2 1856 0.003514942
2016-06-01 9:22:06 14.25 300 0
2016-06-01 9:25:06 14.25 856 0.003514942