<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserInsert.aspx.cs" Inherits="LZBS.Web.Admin.UserInsert" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>后台用户添加</title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="line-height:35px; text-align:left; margin-left:35px; margin-top:100px;">
    帐  号：<asp:TextBox ID="txtUserID" runat="server" MaxLength="50"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="txtUserID" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
        <asp:CustomValidator ID="CustomValidator1" runat="server" 
            ControlToValidate="txtUserID" Display="Dynamic" ErrorMessage="该账号已存在" 
            onservervalidate="CustomValidator1_ServerValidate"></asp:CustomValidator>
        <br />
    密  码：<asp:TextBox ID="txtPwd" runat="server" TextMode="Password"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
            ControlToValidate="txtPwd" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
        <br />
    姓  名：<asp:TextBox ID="txtName" runat="server" MaxLength="4"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
            ControlToValidate="txtName" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
        <br />
        <asp:Button ID="btnAdd" runat="server" Text="添  加" onclick="btnAdd_Click" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input id="ResetAdd" type="reset" value="重  置" style="width:50px; height:20px;" /></div>
    </form>
</body>
</html>
