add_mail.aspx
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:3k
源码类别:

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="add_mail.aspx.cs" Inherits="web_mail_add_mail" %>
  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/style.css" rel="stylesheet" type="text/css" />
  7.     <script type="text/javascript" language="javascript">
  8.         function selectEmployee()
  9.         {
  10.             var url = "../personnel/curricula_vitae/employee_select_index.aspx";
  11.             var features = "width=1010,height=710,top=0,left=0,location=no,toolbar=no,status=no,resizable=yes,scrollbars=yes";
  12.             var employee = open(url, 'selectDepartment', features);
  13.             employee.focus();
  14.         }
  15.     </script>
  16.     </head>
  17. <body>
  18.     <form id="form1" runat="server">
  19.     <center>
  20.     <div>
  21.         <br /><asp:Panel style="POSITION: relative; left: 3px; top: -3px;" id="PnlFw" runat="server" Width="664px" BorderStyle="Groove" Height="515px"><table style="width:650px; position: relative" bgcolor="#dcd5cf">
  22.                     <tr>
  23.                         <td align="left" colspan="2">
  24.                             <asp:Button ID="BtnOk" runat="server" Text="傳送" OnClick="btnOK_Click"/>
  25.                             <asp:Button ID="BtnReceiver2" runat="server" Text="收件人" OnClientClick="selectEmployee()"  />
  26.                             <hr  />
  27.                         </td>
  28.                     </tr>
  29.                     <tr>
  30.                         <td valign="middle" style="width: 122px">
  31.                             <asp:LinkButton ID="BtnReceiver" runat="server" OnClientClick="selectEmployee()">收件人</asp:LinkButton>
  32.                             </td>
  33.                         <td align="left" valign="top" style="width: 655px">
  34.                             <asp:TextBox ID="TxtEmployees" runat="server" ReadOnly="True" Style="position: relative"
  35.                                 TextMode="MultiLine" Width="600px"></asp:TextBox></td>
  36.                     </tr>
  37.                     <tr>
  38.                         <td valign="middle" style="width: 122px">
  39.                             主旨</td>
  40.                         <td align="left" valign="top" style="width: 655px">
  41.                             <asp:TextBox ID="TxtTitle" runat="server" Style="position: relative" Width="600px"></asp:TextBox></td>
  42.                     </tr>
  43.                     <tr>
  44.                         <td valign="middle" style="width: 122px">
  45.                             附件</td>
  46.                         <td align="left" valign="top" style="width: 655px">
  47.                             <asp:FileUpload ID="FileUpload1" runat="server" Style="position: relative" Width="600px" /></td>
  48.                     </tr>
  49.                     <tr>
  50.                         <td colspan="2" valign="middle">
  51.                             <asp:TextBox ID="TxtContent" runat="server" Rows="20" TextMode="MultiLine" Width="650px"></asp:TextBox>
  52.                         </td>
  53.                     </tr>
  54.                 </table>
  55.                     <asp:HiddenField ID="Employee_ids" runat="server"  />
  56.             <asp:HiddenField ID="ContentLength" runat="server" />
  57.                 <br  />
  58.                 </asp:Panel>
  59.     </div>
  60.     </center>
  61.     </form>
  62. </body>
  63. </html>