?? departmentmng.aspx
字號:
<%@ Page Language="c#" Inherits="PMS.DesktopModules.DepartmentInfo.DepartmentMng"
CodeFile="DepartmentMng.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title>DepartmentMng</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<link href="/PMS/CSS/cssformainpage.css" type="text/css" rel="stylesheet">
<link href="/PMS/CSS/BaseCss.css" type="text/css" rel="stylesheet">
</head>
<body>
<form id="Form1" method="post" runat="server">
<div id="page_container">
<!--Header -->
<div id="header">
<!--#include virtual="/PMS/Inc/header.inc"-->
</div>
<!-- Navigation starts -->
<div id="navi" style="width: 157px">
<div id="navi_top" align="center">
<font>菜 單</font></div>
<div class="divider_double" style="width: 160px; height: 3px">
<font face="宋體"></font>
</div>
<div class="navi_cnt">
<br />
<asp:TreeView ID="TreeView1" runat="server" Height="370px" ImageSet="BulletedList3"
LineImagesFolder="~/TreeLineImages" ShowExpandCollapse="False" Width="160px"
Font-Size="XX-Large">
<ParentNodeStyle Font-Bold="False" />
<SelectedNodeStyle Font-Underline="True" ForeColor="#5555DD" HorizontalPadding="0px"
VerticalPadding="0px" />
<Nodes>
<asp:TreeNode Text="員工管理" Value="員工管理">
<asp:TreeNode Text="員工信息管理" Value="員工信息管理" NavigateUrl="~/DesktopModules/EmployeeInfo/employeemng.aspx">
</asp:TreeNode>
<asp:TreeNode Text="員工調動管理" Value="員工調動管理" NavigateUrl="~/DesktopModules/TransferMng/transfermng.aspx">
</asp:TreeNode>
</asp:TreeNode>
<asp:TreeNode Text="部門管理" Value="部門管理">
<asp:TreeNode Text="部門信息管理" Value="部門信息管理" NavigateUrl="~/DesktopModules/DepartmentInfo/departmentmng.aspx">
</asp:TreeNode>
<asp:TreeNode Text="部門人員管理" Value="部門人員管理" NavigateUrl="~/DesktopModules/EmployeeOfDepartment/employeeofdepartment.aspx">
</asp:TreeNode>
</asp:TreeNode>
<asp:TreeNode Text="用戶管理" Value="用戶管理" NavigateUrl="~/Admins/usermng.aspx"></asp:TreeNode>
<asp:TreeNode Text="修改密碼" Value="修改密碼" NavigateUrl="~/Admins/pwdchg.aspx"></asp:TreeNode>
</asp:TreeNode>
<asp:TreeNode Text="退出登錄" Value="退出登錄" NavigateUrl="~/Admins/logout.aspx"></asp:TreeNode>
</Nodes>
<NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" HorizontalPadding="5px"
NodeSpacing="0px" VerticalPadding="0px" />
</asp:TreeView>
</div>
<div id="navi_bottom" style="width: 160px; height: 12px">
<font face="宋體"></font>
</div>
<font face="宋體"></font>
</div>
<!--Navigation end-->
<!-- center -->
<div id="center_work">
<div class="content_work">
<div class="item_odd_work">
<table style="border-collapse: collapse" bordercolor="#111111" height="1" cellspacing="0"
cellpadding="0" width="100%" border="0">
<tr height="30">
<td width="30" bgcolor="#c0d9e6" class="GbText" align="center" style="width: 30px">
<font color="#006699" size="3">
<img src="/PMS/Images/ffwd.GIF" width="16" height="16"></font></td>
<td bgcolor="#c0d9e6" class="GbText">
<b>部門管理</b></td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr height="20">
<td id="bar4" style="background-position: left top; background-attachment: fixed;
background-repeat: no-repeat; height: 25px" align="center" width="90" background="../../images/maillistbutton1.gif">
<asp:Button ID="AddDepart" runat="server" CssClass="buttoncss" Text="添加新的部門"
Width="150px" OnClick="AddDepartment_Click"></asp:Button></td>
<td style="height: 25px" align="right">
<font face="宋體"> </font></td>
</tr>
</table>
<table class="GbText" cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td valign="top" colspan="3" style="height: 298px">
<br />
<asp:GridView ID="DepartList" runat="server" Width="100%" CellPadding="4" ForeColor="#333333"
GridLines="None" AutoGenerateColumns="False" OnPageIndexChanging="DepartList_PageIndexChanging"
OnRowDeleting="DepartList_RowDeleting" OnRowEditing="DepartList_RowEditing" AllowPaging="True"
Font-Size="Larger">
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
<RowStyle BackColor="#EFF3FB" />
<EditRowStyle BackColor="#2461BF" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
<Columns>
<asp:BoundField DataField="DepartID" HeaderText="部門編號">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="DepartName" HeaderText="部門名稱">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="DepartDes" HeaderText="部門描述">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="ParentName" HeaderText="上級部門名稱">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="Remark" HeaderText="備注">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:CommandField HeaderText="編輯" ShowEditButton="True">
<ItemStyle HorizontalAlign="Center" />
</asp:CommandField>
<asp:TemplateField HeaderText="刪除" ShowHeader="False">
<ItemStyle HorizontalAlign="Center" />
<ItemTemplate>
<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete"
OnClientClick="return confirm('你確定要刪除此項嗎?');" Text="刪除"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</td>
</tr>
</table>
<br>
<br>
</div>
</div>
<div class="item_odd_work" style="border-right: medium none; border-top: medium none;
font-size: 1px; border-left: medium none; line-height: 1px; border-bottom: medium none">
</div>
</div>
<div class="content_end_work">
<font></font>
</div>
<font face="宋體"></font>
</div>
<!--center end-->
<div id="footer">
<!--#include virtual="/PMS/Inc/footer.inc"-->
</div>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -