Scalability 总是与我的最后一个话题 performance 缠绕在一起,但事实上,它们是完全不同的两个问题......
$#@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;
查看本文来源