1 Email:
2  <asp:TextBox ID="TextBox1" Runat="server"></asp:TextBox>
3 &nbsp;
4 <asp:RegularExpressionValidator ID="RegularExpressionValidator1"
5 Runat="server" ControlToValidate="TextBox1"
6 Text="You must enter an email address"
7 ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">
8 </asp:RegularExpressionValidator>

相关文章:

  • 2021-09-15
  • 2022-02-03
  • 2021-10-26
  • 2022-02-08
  • 2022-01-03
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-25
  • 2021-05-30
  • 2021-06-21
  • 2022-12-23
  • 2022-02-21
相关资源
相似解决方案