<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="manageadd.aspx.cs" Inherits="jiaowu.manageadd" %>

<!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>
    <link href="../css/table.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
 <div class="place">
  <asp:SiteMapPath ID="SiteMapPath1" runat="server" Height="27px">
                    </asp:SiteMapPath>
    </div>
     <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <table width="99%" border="1" align="left" cellpadding="3" cellspacing="1" bordercolor="#E0F3FF" class="style8">
            <tbody align="left">
              <tr>
                <td width="15%">用户名</td>
                <td><label>
                    <asp:TextBox ID="xm" runat="server"></asp:TextBox>
                    <span class="left_title_1"><span class="style6">*</span></span> </label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="xm" CssClass="STYLE1" ErrorMessage="用户名不能为空">必填字段</asp:RequiredFieldValidator>
                  </td>
              </tr>
              <tr>
                <td  width="81">姓名</td>
                <td><asp:TextBox ID="userxm" runat="server"></asp:TextBox>
                    <span class="left_title_1"><span class="style6">*</span></span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="userxm" CssClass="STYLE1" ErrorMessage="姓名不能为空">必填</asp:RequiredFieldValidator>
                  </td>
                </tr>
              <tr>
                <td  width="81"><span class="left_title_2">性别</span></td>
                <td>
                    <asp:RadioButtonList ID="xb" runat="server" RepeatDirection="Horizontal" 
                        Width="103px">
                        <asp:ListItem Selected="True">男</asp:ListItem>
                        <asp:ListItem>女</asp:ListItem>
                    </asp:RadioButtonList>
                  </td>
                </tr>
                <tr>
                    <td width="81">
                        <span class="left_title_2">密码</span></td>
                    <td>
                        <asp:TextBox ID="pwd1" runat="server" TextMode="Password">123456</asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                            ErrorMessage="密码必须填写！" ControlToValidate="pwd1"></asp:RequiredFieldValidator>
                        <span class="toptext style7">（默认密码为“123456”）</span></td>
                </tr>
              <tr>
                <td  width="81"><span class="left_title_1">确认密码</span></td>
                <td  class="STYLE1">
                    <asp:TextBox ID="pwd2" runat="server" TextMode="Password">123456</asp:TextBox>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ControlToCompare="pwd1" ControlToValidate="pwd2" ErrorMessage="两次密码不一致！"></asp:CompareValidator>
                  </td>
                </tr>
                <tr>
                    <td width="81">
                        联系电话</td>
                    <td class="STYLE1">
                        <asp:TextBox ID="txttel" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td width="81">
                        联系邮箱</td>
                    <td class="STYLE1">
                        <asp:TextBox ID="txtemail" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td width="81">
                        QQ</td>
                    <td class="STYLE1">
                        <asp:TextBox ID="txtqq" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td width="81">
                        家庭住址</td>
                    <td class="STYLE1">
                        <asp:TextBox ID="txtdizhi" runat="server" Width="367px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td width="81">
                        系统角色</td>
                    <td class="STYLE1">
                        <asp:DropDownList ID="ddljueseid" runat="server" AppendDataBoundItems="true">
                            <asp:ListItem Value="0">请选择</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td width="81">
                        分管校区</td>
                    <td class="STYLE1">
                        <asp:DropDownList ID="ddlfenxiao" runat="server" AppendDataBoundItems="true">
                            <asp:ListItem Value="">请选择</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
              <tr align="center">
                <td colspan="2">
                    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="添 加" />
                    <label>
                    <asp:Button ID="Button2" runat="server"  Text="修 改" onclick="Button2_Click" Visible="false"/>
                    &nbsp;<input name="Submit2" type="reset" value="重 填" />
                    <input name="Submit22" onclick="javascript:history.go(-1)" type="button" 
                        value="取 消" />
                    </label>
                    <asp:Label ID="labmsg" runat="server"></asp:Label> <asp:HiddenField ID="tempid" runat="server" />
                    <asp:HiddenField ID="oldxm" runat="server" />
                    <asp:UpdateProgress ID="UpdateProgress1" runat="server" 
                        AssociatedUpdatePanelID="UpdatePanel1">
                        <ProgressTemplate>
                            <asp:Image ID="images1" runat="server" Height="17px" 
                                ImageUrl="../images/loading.gif" Width="20px" />
                        </ProgressTemplate>
                    </asp:UpdateProgress>
                  </td>
                </tr>
            </tbody>
          </table>        </ContentTemplate>
            </asp:UpdatePanel>
    </div>
    </form>
</body>
</html>
