EmpInf.aspx
上传用户:autodoor
上传日期:2022-08-04
资源大小:9973k
文件大小:6k
源码类别:

.net编程

开发平台:

Others

  1. <%@ Page Language="c#" AutoEventWireup="false" Codebehind="EmpInf.aspx.cs" Inherits="qminoa.Webs.MR.EmpInf" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <HTML>
  4. <HEAD>
  5. <title></title>
  6. <meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
  7. <meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
  8. <meta content="JavaScript" name="vs_defaultClientScript">
  9. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10. <LINK href="../lynn.css" type="text/css" rel="stylesheet">
  11. </HEAD>
  12. <body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" MS_POSITIONING="GridLayout">
  13. <form id="Form1" method="post" runat="server">
  14. <FONT face="宋体">
  15. <TABLE style="WIDTH: 100%; POSITION: absolute; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
  16. <TR>
  17. <TD class="" style="HEIGHT: 2px" vAlign="top" noWrap>
  18. <TABLE class="headcenter" style="WIDTH: 100%; HEIGHT: 8px" cellSpacing="0" cellPadding="0" border="0" height="8">
  19. <TR>
  20. <TD align="left" style="WIDTH: 56.33%">
  21. &nbsp;人员信息:活动人员
  22. </TD>
  23. <TD noWrap align="right" vAlign="top">
  24. </TD>
  25. </TR>
  26. </TABLE>
  27. </TD>
  28. </TR>
  29. <TR>
  30. <TD style="HEIGHT: 50px" vAlign="top" align="middle">
  31. <TABLE class="querybox" style="WIDTH: 95%; HEIGHT: 40px" cellSpacing="0" cellPadding="0" border="0">
  32. <TR>
  33. <TD vAlign="center" noWrap>
  34. <TABLE class="td" style="WIDTH: 100%; HEIGHT: 92.29%" cellSpacing="0" cellPadding="0" border="0">
  35. <TR>
  36. <TD style="WIDTH: 54px" noWrap>
  37. 机构名称
  38. </TD>
  39. <TD style="WIDTH: 95px">
  40. <asp:dropdownlist id="dropBranch" runat="server" CssClass="td" Width="120px" Height="23px" DataTextField="SimpleCode" DataValueField="BranchID" AutoPostBack="True" DataSource="<%# BraTB %>">
  41. </asp:dropdownlist>
  42. </TD>
  43. <TD style="WIDTH: 32px" noWrap>
  44. 部门
  45. </TD>
  46. <TD style="WIDTH: 72px">
  47. <asp:dropdownlist id="dropDep" runat="server" CssClass="td" Width="142px" Height="23px" DataTextField="DepName" DataValueField="DepID" DataSource="<%# DepTB %>" AutoPostBack="True">
  48. </asp:dropdownlist>
  49. </TD>
  50. <TD style="WIDTH: 59px" noWrap>
  51. 姓名/帐号
  52. </TD>
  53. <TD style="WIDTH: 86px">
  54. <asp:textbox id="txtName" runat="server" CssClass="td" Width="84px"></asp:textbox>
  55. </TD>
  56. <TD>
  57. &nbsp;<asp:imagebutton id="cmdQuery" runat="server" ImageUrl="../img/button/query.gif"></asp:imagebutton>
  58. </TD>
  59. </TR>
  60. </TABLE>
  61. </TD>
  62. </TR>
  63. </TABLE>
  64. </TD>
  65. </TR>
  66. <TR>
  67. <TD style="WIDTH: 100%" vAlign="top" align="middle">
  68. <TABLE cellSpacing="0" cellPadding="0" width="95%" border="0">
  69. <TR>
  70. <TD style="HEIGHT: 200px" vAlign="top">
  71. <TABLE class="td" style="WIDTH: 100%; HEIGHT: 21px" cellSpacing="0" cellPadding="0" border="0">
  72. <TR>
  73. <TD class="tttable">
  74. 人员列表(共
  75. <asp:label id="lblEmpNum" runat="server" CssClass="tttable" Font-Size="12px"></asp:label>人)
  76. </TD>
  77. <TD style="WIDTH: 120px" align="right">
  78. </TD>
  79. <TD style="WIDTH: 80px">
  80. <asp:hyperlink id="lnkAdd" runat="server" Font-Size="12px"><img src="../img/add.gif" border="0" align="absmiddle">新增</asp:hyperlink>
  81. </TD>
  82. </TR>
  83. </TABLE>
  84. <TABLE width="100%" cellSpacing="0" cellPadding="0" bordercolordark="#ffffff" bordercolor="#888888" border="1">
  85. <tr>
  86. <td>
  87. <asp:datagrid id="dgEmpInfo" runat="server"  Width="100%"  BorderWidth="1px"  BackColor="#F7F7F7"  BorderColor="#F7F7F7"  CssClass="table"  BorderStyle="Solid"  AllowPaging="True" PageSize="8" AutoGenerateColumns="False" DataKeyField="empid" AllowSorting="True" DataSource="<%# EmpTB %>">
  88. <AlternatingItemStyle BorderColor="White" BackColor="White"></AlternatingItemStyle>
  89. <ItemStyle CssClass="textcenter" BackColor="#DEDFDE"></ItemStyle>
  90. <HeaderStyle CssClass="headcenter"></HeaderStyle>
  91. <Columns>
  92. <asp:HyperLinkColumn DataNavigateUrlField="EmpID" DataNavigateUrlFormatString="empbase.aspx?empid={0}" DataTextField="EmpName" SortExpression="EmpName" HeaderText="姓名">
  93. </asp:HyperLinkColumn>
  94. <asp:BoundColumn DataField="LoginID" SortExpression="loginid" HeaderText="登录帐号">
  95. </asp:BoundColumn>
  96. <asp:BoundColumn DataField="Email" HeaderText="电子邮件">
  97. </asp:BoundColumn>
  98. <asp:BoundColumn DataField="Officetel" HeaderText="办公电话">
  99. </asp:BoundColumn>
  100. <asp:BoundColumn DataField="mobile" HeaderText="移动电话">
  101. </asp:BoundColumn>
  102. <asp:BoundColumn DataField="simplecode" SortExpression="simplecode" HeaderText="机构">
  103. </asp:BoundColumn>
  104. <asp:BoundColumn DataField="DepName" SortExpression="depname" HeaderText="部门">
  105. </asp:BoundColumn>
  106. <asp:HyperLinkColumn Text="&lt;img src=../img/edit.gif border=0 alt=更改、浏览此人员帐号信息 /&gt;" DataNavigateUrlField="empid" DataNavigateUrlFormatString="empbase.aspx?empid={0}"></asp:HyperLinkColumn>
  107. <asp:TemplateColumn>
  108. <ItemTemplate>
  109. <asp:ImageButton id="Imagebutton2" runat="server" ImageUrl="../img/stoplogin.gif" CommandName="delete" AlternateText="停用此帐号"></asp:ImageButton>
  110. </ItemTemplate>
  111. </asp:TemplateColumn>
  112. </Columns>
  113. <PagerStyle PageButtonCount="14" Mode="NumericPages"></PagerStyle>
  114. </asp:datagrid>
  115. </td>
  116. </tr>
  117. </TABLE>
  118. <TABLE class="td" cellSpacing="0" cellPadding="0" width="100%" border="0">
  119. <TR>
  120. <TD class="tttable" align="right" style="WIDTH: 541px">
  121. 相关链接:
  122. </TD>
  123. <TD style="WIDTH: 80px">
  124. <A href="empdel.aspx">已停用帐号</A>
  125. </TD>
  126. </TR>
  127. </TABLE>
  128. </TD>
  129. </TR>
  130. </TABLE>
  131. </TD>
  132. </TR>
  133. </TABLE>
  134. </FONT>
  135. </form>
  136. </body>
  137. </HTML>