AddAdmin.aspx
资源名称:SHOPASP.rar [点击查看]
上传用户:xiecaij
上传日期:2015-02-08
资源大小:2016k
文件大小:4k
源码类别:
百货/超市行业
开发平台:
ASP/ASPX
- <%@ Page language="c#" Codebehind="AddAdmin.aspx.cs" AutoEventWireup="false" Inherits="admin.AddAdmin" %>
- <%@ Register TagPrefix="Admin" TagName="AdminMenu" Src="AdminMenu.ascx" %>
- <HTML>
- <HEAD>
- <link rel="stylesheet" type="text/css" href="styles.css">
- </HEAD>
- <body background="../images/sitebkgrdnogray.gif" leftmargin="0" topmargin="0" rightmargin="0"
- bottommargin="0" marginheight="0" marginwidth="0">
- <table cellspacing="0" cellpadding="0" width="100%" border="0" height="100%">
- <tr valign="top">
- <td valign="top" width="145" bgcolor="#9999cc" height="100%">
- <Admin:AdminMenu id="Menu1" runat="server" />
- <img height="1" src="images/1x1.gif" width="145">
- </td>
- <td align="center" valign="middle">
- <table align="center" width="100%" border="0" height="100%">
- <tr valign="top">
- <td align="center">
- <table align="center" width="100%" border="0">
- <tr valign="top">
- <td align="center">
- <table border="1" bordercolor="#ffcc66">
- <tr>
- <td>
- <form runat="server" ID="Form1">
- <TABLE id="Table1" cellSpacing="1" cellPadding="1" width="300" border="0">
- <TR>
- <TD noWrap colSpan="3" align="center" bgcolor="#ffcc66"><FONT face="宋体">新增管理员</FONT></TD>
- </TR>
- <TR>
- <TD noWrap align="center" bgColor="#ffcc66" colSpan="3">
- <asp:Label id="MyError" runat="server" ForeColor="#C00000"></asp:Label></TD>
- </TR>
- <TR>
- <TD noWrap><FONT face="宋体">管理员登录名:</FONT></TD>
- <TD noWrap>
- <asp:TextBox id="LoginName" runat="server"></asp:TextBox></TD>
- <TD noWrap>
- <asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="LoginName"></asp:RequiredFieldValidator></TD>
- </TR>
- <TR>
- <TD noWrap><FONT face="宋体">管理员密码:</FONT></TD>
- <TD noWrap>
- <asp:TextBox id="Password" runat="server" TextMode="Password"></asp:TextBox></TD>
- <TD noWrap>
- <asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ErrorMessage="*" ControlToValidate="Password"></asp:RequiredFieldValidator></TD>
- </TR>
- <TR>
- <TD noWrap><FONT face="宋体">确认密码:</FONT></TD>
- <TD noWrap>
- <asp:TextBox id="ConfirmPwd" runat="server" TextMode="Password"></asp:TextBox></TD>
- <TD noWrap>
- <asp:RequiredFieldValidator id="RequiredFieldValidator3" runat="server" ErrorMessage="*" ControlToValidate="ConfirmPwd"></asp:RequiredFieldValidator>
- <asp:CompareValidator id="CompareValidator1" runat="server" ErrorMessage="两次密码不同" ControlToValidate="ConfirmPwd"
- ControlToCompare="Password"></asp:CompareValidator></TD>
- </TR>
- <TR>
- <TD noWrap><FONT face="宋体">管理员权限:</FONT></TD>
- <TD noWrap><FONT face="宋体">
- <asp:DropDownList id="ListRole" runat="server"></asp:DropDownList></FONT></TD>
- <TD noWrap></TD>
- </TR>
- <TR>
- <TD noWrap colSpan="3" align="center"><FONT face="宋体">
- <asp:Button id="Add" runat="server" Text="添加" Width="56px"></asp:Button></FONT></TD>
- </TR>
- </TABLE>
- </form>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </body>
- </HTML>