ManageNotification.aspx
上传用户:tree100901
上传日期:2007-06-03
资源大小:2295k
文件大小:4k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Register TagPrefix="uc1" TagName="Mymenu" Src="MENU/Mymenu.ascx" %>
  2. <%@ Page language="c#" Codebehind="ManageNotification.aspx.cs" AutoEventWireup="false" Inherits="OA.ManageNotification" %>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  4. <HTML>
  5. <HEAD>
  6. <title>安泰自动办公系统</title>
  7. <style type="text/css">TABLE { FONT-SIZE: 9pt }
  8. BODY { FONT-SIZE: 9pt }
  9. </style>
  10. <LINK href="baseStyle.css" type="text/css" rel="stylesheet">
  11. <LINK href="MENU/menuStyle.css" type="text/css" rel="stylesheet">
  12. <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
  13. <meta content="C#" name="CODE_LANGUAGE">
  14. <meta content="JavaScript" name="vs_defaultClientScript">
  15. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  16. <script language="javascript">
  17. function SelectJob_onclick(){
  18. var c = window.showModalDialog("SelectCaller.aspx","","scroll:0;status:0;help:0;resizable:0;dialogWidth:400px;dialogHeight:380px")
  19. if(c != null)
  20. document.all.Job.value=c
  21. }
  22. </script>
  23. </HEAD>
  24. <body topMargin="5" oncontextmenu='return false'>
  25. <form id="Form1" method="post" runat="server">
  26. <uc1:mymenu id="Mymenu1" runat="server" MenuData="MENU/MenuData.xml"></uc1:mymenu>
  27. <TABLE id="Table1" style="Z-INDEX: 103; LEFT: 8px; TOP: 100px" cellSpacing="1" cellPadding="1"
  28. width="100%" align="center" border="1">
  29. <TR>
  30. <TD style="HEIGHT: 30px" vAlign="middle" align="left" width="50%"><FONT face="宋体">公告列表:</FONT></TD>
  31. <TD style="HEIGHT: 30px" vAlign="middle" align="right" width="50%"><FONT face="宋体">
  32. <asp:label id="stats" runat="server"></asp:label></FONT></TD>
  33. </TR>
  34. <TR>
  35. <TD vAlign="top" align="center" width="100%" colSpan="2"><asp:datagrid id="MyDataGrid" runat="server" OnItemDataBound="MyDataGrid_ItemDataBound" DataKeyField="NotificationID"
  36. OnItemCommand="MyDataGrid_ItemCommand" AutoGenerateColumns="False" HeaderStyle-BackColor="#d0d8df" AlternatingItemStyle-BackColor="#f0f8ff" HeaderStyle-HorizontalAlign="center"
  37. ItemStyle-CssClass="normal" OnDeleteCommand="MyDataGrid_Delete" Width="100%" PagerStyle-PrevPageText="<< 上页" PagerStyle-NextPageText="下页 >>" PagerStyle-HorizontalAlign="Right"
  38. OnPageIndexChanged="MyDataGrid_PageIndexChanged" PageSize="4" AllowPaging="True">
  39. <AlternatingItemStyle BackColor="AliceBlue"></AlternatingItemStyle>
  40. <ItemStyle CssClass="normal"></ItemStyle>
  41. <HeaderStyle HorizontalAlign="Center" BorderStyle="Outset" BackColor="#D0D8DF"></HeaderStyle>
  42. <Columns>
  43. <asp:ButtonColumn Text="删除" HeaderText="删除" CommandName="Delete">
  44. <HeaderStyle Width="20%"></HeaderStyle>
  45. </asp:ButtonColumn>
  46. <asp:ButtonColumn Text="停止发布" HeaderText="操作" CommandName="Cancel"></asp:ButtonColumn>
  47. <asp:BoundColumn DataField="Contents" HeaderText="公告内容"></asp:BoundColumn>
  48. <asp:BoundColumn DataField="PersonID" HeaderText="发送人"></asp:BoundColumn>
  49. </Columns>
  50. <PagerStyle NextPageText="下页 &gt;&gt;" PrevPageText="&lt;&lt; 上页" HorizontalAlign="Right"></PagerStyle>
  51. </asp:datagrid></TD>
  52. </TR>
  53. <TR>
  54. <TD vAlign="middle" align="center" width="100%" colSpan="2">
  55. <P><asp:textbox id="Contents" runat="server" Width="100%" TextMode="MultiLine" Height="200px"></asp:textbox></P>
  56. <P><INPUT style="COLOR: background; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: transparent; BORDER-BOTTOM-STYLE: none"
  57. type="button" value="添加新公告" name="Button1" runat="server" id="AddNotification"></P>
  58. </TD>
  59. </TR>
  60. </TABLE>
  61. </form>
  62. </body>
  63. </HTML>