📄 employeelist.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="employeeList.aspx.cs" Inherits="employeeList" %>
<!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>
<script language="javascript" type="text/javascript">
// <!CDATA[
function showAdd(){
if(eval("addEmployee"+1).style.display=="block"){
eval("addEmployee"+1).style.display="none";
eval("addEmployee"+2).style.display="block";
}
}
function cancelAdd(){
if(eval("addEmployee"+2).style.display=="block"){
eval("addEmployee"+2).style.display="none";
eval("addEmployee"+1).style.display="block";
}
}
// ]]>
</script>
</head>
<body>
<form id="form1" runat="server">
<table id="addEmployee1" style="display:block">
<tbody>
<tr>
<td>
<img src="pic/addNewUser.JPG" onclick="return showAdd()" />
</td>
</tr>
</tbody>
</table>
<table id="addEmployee2" style="display:none">
<tbody>
<tr><td>
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/pic/saveInfo.bmp" OnClick="ImageButton1_Click"/>
<img src="pic/cancelAdd.JPG" onclick = "return cancelAdd()"/>
<asp:Table ID="Table1" runat="server">
<asp:TableRow runat="server">
<asp:TableCell runat="server" >用户名</asp:TableCell>
<asp:TableCell runat="server">密码</asp:TableCell>
<asp:TableCell runat="server" HorizontalAlign="Center">权限</asp:TableCell>
</asp:TableRow>
<asp:TableRow runat="server">
<asp:TableCell ID="TableCell1" runat="server">
<asp:TextBox ID="TextBox1" runat="server">employee</asp:TextBox>
<asp:Label ID="Label1" runat="server" Text="Label">*</asp:Label>
</asp:TableCell>
<asp:TableCell ID="TableCell2" runat="server">
<asp:TextBox ID="TextBox2" runat="server">employee</asp:TextBox>
<asp:Label ID="Label2" runat="server" Text="Label">*</asp:Label>
</asp:TableCell>
<asp:TableCell runat="server">
<asp:DropDownList ID="DropDownList1" runat="server">
<asp:ListItem>前台</asp:ListItem>
<asp:ListItem>经理</asp:ListItem>
</asp:DropDownList>
<asp:Label ID="Label3" runat="server" Text="Label">*</asp:Label>
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</td></tr>
</tbody>
</table>
<table>
<tbody>
<tr><td>
<asp:Table ID="Table2" runat="server">
<asp:TableRow runat="server">
<asp:TableCell runat="server" Width="150px">用户名</asp:TableCell>
<asp:TableCell runat="server" Width="150px">密码</asp:TableCell>
<asp:TableCell runat="server" Width="50px">权限</asp:TableCell>
<asp:TableCell runat="server">编辑</asp:TableCell>
<asp:TableCell runat="server">删除</asp:TableCell>
</asp:TableRow>
</asp:Table>
</td></tr>
</tbody>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -