empdel.aspx
上传用户:kaisitong
上传日期:2022-01-01
资源大小:3672k
文件大小:5k
源码类别:

OA系统

开发平台:

ASP/ASPX

  1. <%@ Import Namespace="System.Data"%>
  2. <%@ Import Namespace="System.Data.SqlClient" %>
  3. <%@ Page Language="vb" Debug="true" CodeBehind="empdel.aspx.vb" AutoEventWireup="false" Inherits="ioffice.empdel" %>
  4. <HTML>
  5. <HEAD>
  6. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  7. <meta content="Microsoft FrontPage 5.0" name="GENERATOR">
  8. <meta content="FrontPage.Editor.Document" name="ProgId">
  9. <LINK href="../../Styles.css" type="text/css" rel="stylesheet">
  10. </HEAD>
  11. <body>
  12. <form runat="server">
  13. <TABLE style="BORDER-COLLAPSE: collapse" borderColor="#111111" cellSpacing="0" cellPadding="0" width="100%" bgColor="#887858" border="0">
  14. <TR>
  15. <TD noWrap>
  16. <DIV class="titleBar">
  17. &nbsp;帐号维护 :已停用帐号
  18. </DIV>
  19. </TD>
  20. </TR>
  21. </TABLE>
  22. <br>
  23. <div align="center">
  24. <center>
  25. <table id="AutoNumber1" style="BORDER-COLLAPSE: collapse" borderColor="#111111" cellSpacing="0" cellPadding="0" width="95%" border="0">
  26. <tr>
  27. <td width="100%">
  28. <table id="AutoNumber2" style="BORDER-COLLAPSE: collapse" borderColor="#999999" cellSpacing="0" cellPadding="0" width="100%" border="0">
  29. <tr>
  30. <td class="ttTable" noWrap width="76%">
  31. 员工列表
  32. <asp:Label id="lblEmpNum" runat="server"></asp:Label>
  33. </td>
  34. <td width="13%">
  35. </td>
  36. <td class="td" noWrap width="11%">
  37. <A title="退出该页面,返回到桌面" href="../../desktop.aspx">退出</A>
  38. </td>
  39. </tr>
  40. </table>
  41. <ASP:DATAGRID id="dgdEmpStop" runat="server" DataKeyField="empid" AllowSorting="True" AllowPaging="True" Font-Names="Verdana" PageSize="14" BackColor="#F0F0E8" width="100%" AutoGenerateColumns="False" HeaderStyle-font-weight="fold" HeaderStyle-BackColor="#d8c8a8" Font-Size="8pt" Font-Name="Verdana" CellPadding="3" BorderWidth="1px" BorderColor="#999999">
  42. <HeaderStyle Wrap="False" CssClass="tttable" BackColor="#D8C8A8"></HeaderStyle>
  43. <PagerStyle PageButtonCount="14" Mode="NumericPages"></PagerStyle>
  44. <AlternatingItemStyle BackColor="#F8F4E4"></AlternatingItemStyle>
  45. <ItemStyle Wrap="False"></ItemStyle>
  46. <Columns>
  47. <asp:HyperLinkColumn DataNavigateUrlField="empid" DataNavigateUrlFormatString="empadded.aspx?dempid={0}" DataTextField="baname" SortExpression="baname" HeaderText="姓名">
  48. <HeaderStyle Wrap="False">
  49. </HeaderStyle>
  50. <ItemStyle Wrap="False">
  51. </ItemStyle>
  52. </asp:HyperLinkColumn>
  53. <asp:BoundColumn DataField="loginid" SortExpression="loginid" HeaderText="登录帐号">
  54. <HeaderStyle Wrap="False">
  55. </HeaderStyle>
  56. <ItemStyle Wrap="False">
  57. </ItemStyle>
  58. </asp:BoundColumn>
  59. <asp:BoundColumn DataField="email" HeaderText="电子邮件" DataFormatString="{0:c}">
  60. <HeaderStyle Wrap="False">
  61. </HeaderStyle>
  62. </asp:BoundColumn>
  63. <asp:BoundColumn DataField="officetel" HeaderText="办公电话">
  64. <HeaderStyle Wrap="False">
  65. </HeaderStyle>
  66. <ItemStyle Wrap="False">
  67. </ItemStyle>
  68. </asp:BoundColumn>
  69. <asp:BoundColumn DataField="mobile" HeaderText="移动电话" DataFormatString="{0:c}">
  70. <HeaderStyle Wrap="False">
  71. </HeaderStyle>
  72. <ItemStyle Wrap="False">
  73. </ItemStyle>
  74. </asp:BoundColumn>
  75. <asp:BoundColumn DataField="simplecode" SortExpression="simplecode" HeaderText="机构">
  76. <HeaderStyle Wrap="False">
  77. </HeaderStyle>
  78. <ItemStyle Wrap="False">
  79. </ItemStyle>
  80. </asp:BoundColumn>
  81. <asp:BoundColumn DataField="depname" SortExpression="depname" HeaderText="部门">
  82. <HeaderStyle Wrap="False">
  83. </HeaderStyle>
  84. <ItemStyle Wrap="False">
  85. </ItemStyle>
  86. </asp:BoundColumn>
  87. <asp:HyperLinkColumn Text="&lt;img src=../../img/view.gif border=0 alt=浏览详细信息 /&gt;" DataNavigateUrlField="empid" DataNavigateUrlFormatString="empadded.aspx?dempid={0}">
  88. <HeaderStyle Width="5px">
  89. </HeaderStyle>
  90. </asp:HyperLinkColumn>
  91. <asp:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" CancelText="取消" EditText="&lt;img src=../../img/activelogin.gif alt=复活员工帐号 border=0 /&gt;"></asp:EditCommandColumn>
  92. <asp:ButtonColumn Text="&lt;img src=../../img/delete.gif border=0 alt=删除此帐号 /&gt;" CommandName="Delete">
  93. <HeaderStyle Width="5px">
  94. </HeaderStyle>
  95. </asp:ButtonColumn>
  96. </Columns>
  97. </ASP:DATAGRID>
  98. </td>
  99. </tr>
  100. </table>
  101. </center>
  102. </div>
  103. <div align="center">
  104. <center>
  105. <table id="AutoNumber3" style="BORDER-COLLAPSE: collapse" borderColor="#111111" cellSpacing="0" cellPadding="0" width="95%" border="0">
  106. <tr>
  107. <TD class="tttable" style="WIDTH: 389px" noWrap width="389">
  108. <asp:label id="lblErr" runat="server" CssClass="err"></asp:label>
  109. </TD>
  110. <td class="tttable" width="92%">
  111. <p align="right">
  112. 相关链接:
  113. </p>
  114. </td>
  115. <td class="td" noWrap width="8%">
  116. <p align="right">
  117. <asp:LinkButton id="lnkActEmp" runat="server">活动员工</asp:LinkButton>
  118. </p>
  119. </td>
  120. </tr>
  121. </table>
  122. </center>
  123. </div>
  124. </form>
  125. </body>
  126. </HTML>