danweitxl.aspx
上传用户:lishan0805
上传日期:2019-12-08
资源大小:12048k
文件大小:3k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="danweitxl.aspx.cs" Inherits="qs_Default" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>单位通讯录</title>
  6.     <link href="../css/textarea.css" rel="stylesheet" type="text/css" />
  7. <style type="text/css">
  8. <!--
  9. .style1 {
  10. color: #FFFFFF;
  11. font-weight: bold;
  12. }
  13. body {
  14. margin-top: 0px;
  15. }
  16. }
  17. -->
  18. </style>
  19. </head>
  20. <body>
  21.     <form id="form1" runat="server">
  22.     <div>
  23.         <div style="width: 754px; height: 38px" >
  24.             &nbsp;<table bgcolor="#5aae18" border="0" cellpadding="0" cellspacing="0" width="100%">
  25.                 <tr>
  26.                     <td width="6" style="height: 21px">
  27.                         <img height="21" src="../../img/bbs/leftlin1.gif" width="6" /></td>
  28.                     <td bgcolor="#5aae18" width="936" style="height: 21px">
  29.                         <div align="center">
  30.                             <span class="style4"><span class="style1">通 讯 录 系 统</span></span></div>
  31.                     </td>
  32.                     <td width="6" style="height: 21px">
  33.                         &nbsp;</td>
  34.                 </tr>
  35.             </table>
  36.             &nbsp;
  37.             <asp:DropDownList ID="ddl_bumen1" runat="server" DataSourceID="SqlDataSource1" DataTextField="dept_department"
  38.                 DataValueField="dept_department">
  39.             </asp:DropDownList>
  40.             <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="查询" />
  41.             <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:qs_OA_DBConnectionString2 %>"
  42.                 SelectCommand="SELECT [dept_department], [dept_id] FROM [department]"></asp:SqlDataSource>
  43.            
  44.          
  45.         </div>
  46.     
  47.     </div>
  48.         <div style="width: 752px; height: 260px" >
  49.         
  50.         
  51.         
  52.             <asp:GridView ID="gdvSelectAll" runat="server" Width="752px"   AutoGenerateColumns="False" OnRowDataBound="gdvSelectAll_RowDataBound" BorderColor="PaleGreen" Font-Size="Larger" >
  53.                 <Columns>
  54.                     <asp:BoundField DataField="al_id" HeaderText="编号" />
  55.                     <asp:HyperLinkField DataNavigateUrlFields="u_username" DataNavigateUrlFormatString="bangongtongxuluxiugai.aspx?u_username={0}"
  56.                         DataTextField="u_username" HeaderText="姓名" />
  57.                     <asp:BoundField DataField="dept_department" HeaderText="部门" />
  58.                     <asp:BoundField DataField="al_duty" HeaderText="职务" />
  59.                     <asp:BoundField DataField="al_mobile" HeaderText="手机" />
  60.                     <asp:BoundField DataField="al_smallclever" HeaderText="小灵通" />
  61.                     <asp:BoundField DataField="al_worktelephone" HeaderText="办公室电话" />
  62.                     <asp:BoundField DataField="al_address" HeaderText="地址" />
  63.                 </Columns>
  64.             </asp:GridView>
  65.             &nbsp;&nbsp;
  66.             <a href="tijiaobangongtongxunlu.aspx">添加通讯录</a>
  67.            
  68.        <br/>
  69.        
  70.   <br/>
  71.   
  72.   
  73.  
  74.    </div>
  75.             
  76.     </form>
  77. </body>
  78. </html>