adduser.aspx
来自「毕业设计+图书管理系统+源码 需要的人下载。」· ASPX 代码 · 共 72 行
ASPX
72 行
<%@ Page Language="VB" MasterPageFile="~/administrator/adminMasterPage.master" AutoEventWireup="false" CodeFile="AddUser.aspx.vb" Inherits="Administrator_AddUser" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div >
<table style="width: 100%; height: 86%; border-right: #cc3333 thin solid; table-layout: fixed; border-top: #cc3333 thin solid; border-left: #cc3333 thin solid; border-bottom: #cc3333 thin solid; background-color: #cc9966;">
<caption><h2>添加用户</h2></caption>
<tr>
<td style="width: 100%; height: 9px;" colspan=5 align="center">
用户身份:
<asp:DropDownList ID="ddlRole" runat="server" Font-Size="Medium" Height="27px"
Width="88px" AutoPostBack=true >
<asp:ListItem>教师</asp:ListItem>
<asp:ListItem>学生</asp:ListItem>
<asp:ListItem>管理员</asp:ListItem>
</asp:DropDownList>
<asp:Label ID="lblError" runat="server" Font-Size="XX-Large" Font-Strikeout="False"
Font-Underline="False" ForeColor="Red" Height="32px" Text="用户已经存在!" Visible="False"
Width="206px"></asp:Label></td>
</tr>
<tr>
<td style="width: 100px">
用户ID:<br />
<asp:TextBox ID="txtUserID" runat="server"></asp:TextBox></td>
<td style="width: 100px">
用户名:<br />
<asp:TextBox ID="txtUserName" runat="server"></asp:TextBox></td>
<td style="width: 100px">
密码:<asp:TextBox ID="txtPassword" runat="server"></asp:TextBox></td>
<td style="width: 100px">
Email:<asp:TextBox ID="txtEmail" runat="server"></asp:TextBox></td>
<td style="width: 100px">
电话:<asp:TextBox ID="txtTelephone" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 100px; height: 22px;" >
</td>
<td style="width: 100px; height: 22px;">
<asp:Label ID="Label1" runat="server" Text="部门:"></asp:Label>
<asp:TextBox ID="txtDept" runat="server"></asp:TextBox>
</td>
<td style="width: 100px; height: 22px;">
</td>
<td style="width: 100px; height: 22px;" >
<asp:Label ID="Label2" runat="server" Text="职称:"></asp:Label>
<asp:TextBox ID="txtTitle" runat="server"></asp:TextBox>
</td>
<td style="width: 100px; height: 22px;">
</td>
</tr>
<tr>
<td style="width: 100px; height: 29px;">
</td>
<td style="width: 100px; height: 29px;" align="right">
<asp:Button ID="btnAdd" runat="server" Text="添加新用户" /></td>
<td style="width: 100px; height: 29px;">
</td>
<td style="width: 100px; height: 29px;">
<asp:Button ID="btnCancel" runat="server" Text=" 取消 " /></td>
<td style="width: 100px; height: 29px;">
</td>
</tr>
</table>
</div>
</asp:Content>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?