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

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="bumenqunfa.aspx.cs" Inherits="qunfa" validateRequest="false" %>
  2. <%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" >
  5. <head runat="server">
  6.     <title>部门群发</title>
  7.     <link href="../css/textarea.css" rel="stylesheet" type="text/css" />
  8.     <style type="text/css">
  9. <!--
  10. body {
  11. margin-top: 2px;
  12. }
  13. -->
  14. </style>
  15. <style type="text/css"> 
  16. div.RoundedCorner{background: #5AAE18} 
  17. b.rtop, b.rbottom{display:block;background: #FFF} 
  18. b.rtop b, b.rbottom b{display:block;height: 1px;overflow: hidden; background: #5AAE18} 
  19. b.r1{margin: 0 4px} 
  20. b.r2{margin: 0 3px} 
  21. b.r3{margin: 0 2px} 
  22. b.rtop b.r4, {margin: 0 1px;height: 1px}
  23. .style1 {
  24. font-size: 13px;
  25. color: #FFFFFF;
  26. font-weight: bold;
  27. </style>
  28. </head>
  29. <body>
  30. <%
  31.                     //取登陆人信息 
  32.                     COM.OA.Entity.users loginuser =Session["loginuser"] as COM.OA.Entity.users;
  33.                     //如果取不到跳转到登陆页
  34.                     if (loginuser == null)
  35.                     {
  36.                         this.Response.Write(string.Format(GetRedirect.ALLREDIRECT, "../login.aspx"));
  37.                     }
  38.  %>
  39.   <div class="RoundedCorner" style="text-align: center" > 
  40. <b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b> <span class="style1">对 部 门 群 发</span></div>
  41.     <form id="form1" runat="server">
  42.     <div style="text-align: center">
  43.         &nbsp;<asp:Label ID="Label1" runat="server" Text="接收人"></asp:Label>&nbsp;
  44.         <asp:DropDownList ID="Dropbumen" runat="server" DataSourceID="SqlDataSource1" DataTextField="dept_department" DataValueField="dept_id">
  45.         </asp:DropDownList><asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:OA_DBConnectionString3 %>"
  46.             SelectCommand="SELECT [dept_id], [dept_department] FROM [department]"></asp:SqlDataSource>
  47.         <asp:Label ID="Label2" runat="server" Text="标题"></asp:Label>
  48.         <asp:TextBox ID="txtbiaoti" runat="server"></asp:TextBox><br />
  49.         <ftb:freetextbox id="FreeTextBox1" runat="server"></ftb:freetextbox>
  50.         <br />
  51.         <asp:Button ID="btn_fasong" runat="server" Text="发送" OnClick="btn_fasong_Click" />&nbsp;
  52.         <asp:Button ID="btn_chongxie" runat="server" OnClick="Button3_Click" Text="重写" />&nbsp;&nbsp;<br />
  53.         &nbsp;
  54.         &nbsp;&nbsp;</div>
  55.     </form>
  56. </body>
  57. </html>