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

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="TXLSMS.aspx.cs" Inherits="TXLSMS" %>
  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>  <asp:TemplateField>
  55.                              <ItemTemplate>
  56.         <asp:CheckBox ID="CheckBoxItem" runat="server" />
  57.         </ItemTemplate>
  58.         </asp:TemplateField>
  59.               <asp:BoundField DataField="ID" HeaderText="ID">
  60.                              <HeaderStyle Width="200px" />
  61.                              <ItemStyle HorizontalAlign="Center" />
  62.                          </asp:BoundField>
  63.                          <asp:BoundField DataField="UserId" HeaderText="用户名">
  64.                              <HeaderStyle Width="200px" />
  65.                              <ItemStyle HorizontalAlign="Center" />
  66.                          </asp:BoundField>
  67.                          <asp:BoundField DataField="UserName" HeaderText="真实姓名">
  68.                              <HeaderStyle Width="200px" />
  69.                              <ItemStyle HorizontalAlign="Center" />
  70.                          </asp:BoundField>
  71.                   
  72.                          <asp:TemplateField HeaderText="角色">
  73.                          <HeaderStyle Width="200px" />
  74.                          <ItemTemplate>
  75.                          <%#JueSe()%>
  76.                          </ItemTemplate>                         
  77.                              <ItemStyle HorizontalAlign="Center" />
  78.                          </asp:TemplateField>
  79.                    
  80.                        <asp:BoundField DataField="Mobile" HeaderText="联系电话">
  81.                              <HeaderStyle Width="200px" />
  82.                              <ItemStyle HorizontalAlign="Center" />
  83.                          </asp:BoundField>
  84.                   
  85.                      </Columns>
  86.                 <RowStyle CssClass="usertablerow2" />
  87.                 <AlternatingRowStyle CssClass="usertablerow1" />
  88.                  </asp:GridView>     <asp:CheckBox ID="CheckBox1" runat="server" AutoPostBack="True" OnCheckedChanged="CheckBox1_CheckedChanged"
  89.                      Text="全选" />&nbsp;<br>
  90.                  发送内容:<br />
  91.                  <asp:TextBox ID="Info_TextBox" runat="server" Height="133px" TextMode="MultiLine"
  92.                      Width="262px"></asp:TextBox><br />
  93.                 &nbsp;<webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="20" OnPageChanging="AspNetPager1_PageChanging">
  94.                 </webdiyer:AspNetPager>
  95.             <asp:CheckBox ID="CheckBox2" runat="server" Text="手机短信提示" /><br />
  96.                  <asp:Button ID="DelButton1" runat="server" CssClass="ptsbutton" OnClick="DelButton1_Click"
  97.                      Text="短信群发" />
  98.                  <input class="ptsbutton" onclick="window.location='SMSManager.aspx'" type="button" value="返回" />
  99.                          </td>
  100.               
  101.               </td>
  102.         </tr>
  103.     </table>
  104.     <br>
  105.     </form>
  106.     
  107. </td>
  108.     
  109. </body>
  110. </html>