<head>
<script language="VB" runat="server">
</script>
</head>
<p>请输入ID：<asp:TEXTBOX runat="server" id="uid"/>
<P>请输入密码：<input id="Pass" type=password size=10 runat=server> 
<P>再输入一次：<input id="RPass" type=password size=10 runat=server> 
      <asp:CompareValidator runat=server
            ControlToValidate="RPass"
            ControlToCompare="Pass"
            ErrorMessage="密码验证错误" />