TXL.aspx
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:5k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="TXL.aspx.cs" Inherits="InFos_TXL" %>
  2. <%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  4. <html>
  5. <head>
  6.     <link href="../css/main.css" type="text/css" rel="stylesheet">
  7. </head>
  8.   <script src="../Scripts/jquery-1.3.2.js" type="text/javascript"></script>
  9.   <SCRIPT language="JavaScript" src="js/calendar.js"></SCRIPT>
  10. <body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
  11. <form runat="server" id="fm1">
  12.     <table border="0" cellpadding="0" cellspacing="0" style="width: 870px" >
  13.         <tr>
  14.             <td style="width: 11px" valign="top">
  15.             <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  16.         border="0">
  17.                 <tr>
  18.                     <th colspan="3" style="height: 25px">
  19.                         内部通讯录--部门结构</th>
  20.                 </tr>
  21.                 <tr>
  22.                     <td class="usertablerow2" align="left" style="width: 153px">
  23.                            <asp:TreeView ID="TreeView1" runat="server" Width="158px" OnSelectedNodeChanged="TreeView1_SelectedNodeChanged">
  24.                                <Nodes>
  25.                                    <asp:TreeNode Text="技术公司" Value="技术公司">
  26.                                        <asp:TreeNode Text="技术开发" Value="技术开发"></asp:TreeNode>
  27.                                        <asp:TreeNode Text="技术保证" Value="技术保证"></asp:TreeNode>
  28.                                        <asp:TreeNode Text="客户服务" Value="客户服务"></asp:TreeNode>
  29.                                    </asp:TreeNode>
  30.                                    <asp:TreeNode Text="运营公司1" Value="运营公司1"></asp:TreeNode>
  31.                                    <asp:TreeNode Text="运输部1" Value="运输部1"></asp:TreeNode>
  32.                                    <asp:TreeNode Text="后勤公司1" Value="后勤公司1"></asp:TreeNode>
  33.                                              <asp:TreeNode Text="运营公司2" Value="运营公司"2></asp:TreeNode>
  34.                                    <asp:TreeNode Text="运输部2" Value="运输部2"></asp:TreeNode>
  35.                                    <asp:TreeNode Text="后勤公司2" Value="后勤公司2"></asp:TreeNode>
  36.                                              <asp:TreeNode Text="运营公司3" Value="运营公司3"></asp:TreeNode>
  37.                                    <asp:TreeNode Text="运输部3" Value="运输部3"></asp:TreeNode>
  38.                                    <asp:TreeNode Text="后勤公司3" Value="后勤公司3"></asp:TreeNode>
  39.                                              <asp:TreeNode Text="运营公司4" Value="运营公司4"></asp:TreeNode>
  40.                                    <asp:TreeNode Text="运输部4" Value="运输部4"></asp:TreeNode>
  41.                                    <asp:TreeNode Text="后勤公司4" Value="后勤公司4"></asp:TreeNode>
  42.                                </Nodes>
  43.                 </asp:TreeView></td>
  44.            
  45.             
  46.                 </tr>
  47.             </table>
  48.            
  49.             </td>
  50.             <td style="width: 5px; " valign="top">
  51.            
  52.              <td style="width: 100%" valign="top">    
  53.               <asp:GridView ID="GridView1" CssClass="usertableborder" runat="server" AutoGenerateColumns="False" PageSize="20" OnRowDataBound="GridView1_RowDataBound" Width="100%">
  54.                      <Columns>
  55.                          <asp:BoundField DataField="UserId" HeaderText="用户名">
  56.                              <HeaderStyle Width="200px" />
  57.                              <ItemStyle HorizontalAlign="Center" />
  58.                          </asp:BoundField>
  59.                          <asp:BoundField DataField="UserName" HeaderText="真实姓名">
  60.                              <HeaderStyle Width="200px" />
  61.                              <ItemStyle HorizontalAlign="Center" />
  62.                          </asp:BoundField>
  63.                   
  64.                          <asp:TemplateField HeaderText="角色">
  65.                          <HeaderStyle Width="200px" />
  66.                          <ItemTemplate>
  67.                          <%#JueSe()%>
  68.                          </ItemTemplate>                         
  69.                              <ItemStyle HorizontalAlign="Center" />
  70.                          </asp:TemplateField>
  71.                    
  72.                        <asp:BoundField DataField="Mobile" HeaderText="联系电话">
  73.                              <HeaderStyle Width="200px" />
  74.                              <ItemStyle HorizontalAlign="Center" />
  75.                          </asp:BoundField>
  76.                   
  77.                      </Columns>
  78.                 <RowStyle CssClass="usertablerow2" />
  79.                 <AlternatingRowStyle CssClass="usertablerow1" />
  80.                  </asp:GridView>
  81.                 &nbsp;<webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="20" OnPageChanging="AspNetPager1_PageChanging">
  82.                 </webdiyer:AspNetPager>
  83.                 <br />
  84.                </td></td>
  85.         </tr>
  86.     </table>
  87.     <br>
  88.     </form>
  89.     
  90. </body>
  91. </html>