ASP.NET升级能力探讨(3)
发表于:2007-06-30来源:作者:点击数:
标签:
$#@60;!-- 登陆信息 --$#@62; $#@60;table border=0 width=600 $#@62; $#@60;tr$#@62;$#@60; td colspan=3$#@62; $#@60;table border=0 cellpadding=0 cellspacing=0 width="100%"$#@62; $#@60;tr$#@62;$#@60;td$#@62; $#@60;b$#@62;登陆信息$#@60;/b$#@62;
$#@60;!-- 登陆信息 --$#@62;
$#@60;table border=0 width=600 $#@62;
$#@60;tr$#@62;$#@60;
td colspan=3$#@62;
$#@60;table border=0 cellpadding=0 cellspacing=0 width="100%"$#@62;
$#@60;tr$#@62;$#@60;td$#@62;
$#@60;b$#@62;登陆信息$#@60;/b$#@62;
$#@60;/td$#@62;$#@60;/tr$#@62;
$#@60;/table$#@62;
$#@60;/td$#@62;$#@60;/tr$#@62;
$#@60;tr$#@62;
$#@60;td align=right$#@62;
Email地址:
$#@60;/td$#@62;
$#@60;td$#@62;
$#@60;ASP:TextBox id=email width=200px maxlength=60 runat=server /$#@62;
$#@60;/td$#@62;
$#@60;td$#@62;
$#@60;asp:RequiredFieldValidator id="emailReqVal"
ControlToValidate="email"
ErrorMessage="Email地址"
Display="Dynamic"
Font-Name="宋体"
Font-Size="12"
runat=server$#@62;
*
$#@60;/asp:RequiredFieldValidator$#@62;
$#@60;asp:CustomValidator id="emailRegexVal" runat="server"
ControlToValidate="email"
ClientValidationFunction="ClientValidateEmail"
Display="Static"
Font-Name="宋体"
Font-Size="12"$#@62;
非法Email地址
$#@60;/asp:CustomValidator$#@62;
$#@60;/td$#@62;
$#@60;/tr$#@62;
$#@60;tr$#@62;
$#@60;td align=right$#@62;
密码:
$#@60;/td$#@62;
$#@60;td$#@62;
$#@60;asp:TextBox id=passwd TextMode="Password" maxlength=20 runat=server/$#@62;
$#@60;/td$#@62;
$#@60;td$#@62;
$#@60;asp:RequiredFieldValidator id="passwdReqVal"
ControlToValidate="passwd"
ErrorMessage="用户密码"
Display="Dynamic"
Font-Name="宋体" Font-Size="12"
runat=server$#@62;
*
$#@60;/asp:RequiredFieldValidator$#@62;
$#@60;asp:RegularExpressionValidator id="passwdRegexBal"
ControlToValidate="passwd"
ValidationExpression=".*[!@#$%^&*+;:].*"
Display="Static"
Font-Name="宋体" Font-Size="12"
Width="100%" runat=server$#@62;
密码必须包含如下字符: (!@#$%^&*+;:)
$#@60;/asp:RegularExpressionValidator$#@62;
$#@60;/td$#@62;
$#@60;/tr$#@62;
$#@60;tr$#@62;
原文转自:http://www.ltesting.net