📄 admin_mposition.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="admin_MPosition.aspx.cs" Inherits="admin_MPosition" %>
<!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.css" type="text/css" rel="Stylesheet" />
</head>
<body>
<form id="form1" runat="server" >
<div runat="server" id="dv1" >
<table style="width: 100%; border-collapse:collapse;" borderColor="#BED393" border="1">
<tr>
<td colspan="3" align="center" style=" background-color:#EDF3E1">
<font size="5px">职位管理</font></td>
</tr>
<tr>
<td width="30%" align="right">部门名称:</td>
<td colspan="2">
<asp:DropDownList ID="dropdepartment" AutoPostBack="true" runat="server" OnSelectedIndexChanged="dropdepartment_SelectedIndexChanged">
</asp:DropDownList></td>
</tr>
<tr>
<td width="42%" align="right">
职位名称:</td>
<td style="width:156px">
<asp:ListBox ID="listposition" runat="server" Height="108px" Width="156px"></asp:ListBox></td>
<td>
<table width="100%">
<tr>
<td><asp:ImageButton ID="btnedit" runat="server" ImageUrl="~/Images/edit.gif" OnClick="btnedit_Click" ValidationGroup="edit" /></td>
</tr>
<tr>
<td><asp:ImageButton ID="btndelete" runat="server" ImageUrl="~/Images/a_delete.gif" OnClick="btndelete_Click" /></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<asp:Panel runat="server" ID="p1" Width="100%" Visible="false">
<table style="width: 100%; border-collapse:collapse;" borderColor="#bed393" border="1">
<tr>
<td colspan="2" align="center" style=" background-color:#EDF3E1">
<font size="5">编辑部门信息</font></td>
</tr>
<tr>
<td width="30%" align="right">
职位名称:</td>
<td>
<asp:TextBox ID="tname" runat="server" Width="196px"></asp:TextBox><asp:RequiredFieldValidator ID="r1" runat="server" ControlToValidate="tname"
ErrorMessage="名称不能为空"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right">
职位简介:</td>
<td>
<asp:TextBox ID="tcontent" runat="server" Width="452px" TextMode="MultiLine" Height="144px"></asp:TextBox></td>
</tr>
<tr>
<td align="center" colspan="2">
<asp:Button ID="btn_update" runat="server" Text="更新" OnClick="btn_update_Click"/>
<asp:Button ID="btn_cancel" runat="server" Text="取消" OnClick="btn_cancel_Click" /></td>
</tr>
</table>
</asp:Panel>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -