<%@ Page language="c#" Codebehind="EnableValidator.aspx.cs" AutoEventWireup="false" Inherits="EnableValidator.WebForm1" %>
<%@ Register TagPrefix="cc1" Namespace="WebControlLibrary" Assembly="WebControlLibrary" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>WebForm1</title>
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table1" style="Z-INDEX: 101; LEFT: 296px; WIDTH: 272px; POSITION: absolute; TOP: 88px; HEIGHT: 156px" cellSpacing="1" cellPadding="1" width="272" bgColor="#dfdcdc" border="0">
				<TR>
					<TD style="WIDTH: 71px" colSpan="2"><FONT face="宋体"></FONT></TD>
				</TR>
				<TR>
					<TD style="WIDTH: 86px"><FONT face="宋体">&nbsp; </FONT>
						<asp:Label id="Label1" runat="server" Width="64px">用户名：</asp:Label></TD>
					<TD><FONT face="宋体">
							<P>
								<asp:TextBox id="TextBox1" runat="server"></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;
								<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" Font-Size="X-Small" ControlToValidate="TextBox1">必须输入用户名！</asp:RequiredFieldValidator></P>
						</FONT>
					</TD>
				</TR>
				<TR>
					<TD style="WIDTH: 86px"><FONT face="宋体">&nbsp; </FONT>
						<asp:Label id="Label2" runat="server">密码：</asp:Label></TD>
					<TD>
						<asp:TextBox id="TextBox2" runat="server"></asp:TextBox><FONT face="宋体">&nbsp;&nbsp;&nbsp;&nbsp;
						</FONT>
						<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" Font-Size="X-Small" ControlToValidate="TextBox2">必须输入密码！</asp:RequiredFieldValidator></TD>
				</TR>
				<TR>
					<TD style="WIDTH: 86px; HEIGHT: 26px"></TD>
					<TD style="HEIGHT: 26px">
						<asp:Button id="Login" runat="server" Text="登录"></asp:Button><FONT face="宋体">&nbsp;&nbsp;&nbsp;
						</FONT>
						<asp:Button id="Register" runat="server" Text="注册" CausesValidation="False"></asp:Button></TD>
				</TR>
				<TR>
					<TD style="WIDTH: 71px" colSpan="2"><FONT face="宋体">
							<asp:Label id="Label3" runat="server" ForeColor="Red" Width="200px"></asp:Label></FONT></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
