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

OA系统

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="MySenderMessage.aspx.cs" AutoEventWireup="false" Inherits="OA.MySenderMessage" %>
  2. <%@ Register TagPrefix="uc1" TagName="Mymenu" Src="MENU/Mymenu.ascx" %>
  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. </HEAD>
  17. <body topMargin="5" oncontextmenu='return false'>
  18. <form id="Form1" method="post" runat="server">
  19. <uc1:mymenu id="Mymenu1" runat="server" MenuData="MENU/MenuData.xml"></uc1:mymenu>
  20. <TABLE id="Table1" style="Z-INDEX: 103; LEFT: 8px; POSITION: static; TOP: 100px" cellSpacing="1"
  21. cellPadding="1" width="100%" border="1">
  22. <TR>
  23. <TD style="HEIGHT: 30px" vAlign="middle" align="right" width="100%"><asp:label id="stats" runat="server"></asp:label></TD>
  24. </TR>
  25. <TR>
  26. <TD vAlign="top"><asp:datagrid id="MyDataGrid" runat="server" Width="100%" OnItemCreated="MyDataGrid_ItemCreated"
  27. OnDeleteCommand="MyDataGrid_Delete" PagerStyle-PrevPageText="<< 上页" PagerStyle-NextPageText="下页 >>" PagerStyle-HorizontalAlign="Right"
  28. ItemStyle-CssClass="normal" HeaderStyle-HorizontalAlign="center" AlternatingItemStyle-BackColor="#f0f8ff"
  29. HeaderStyle-BackColor="#d0d8df" OnPageIndexChanged="MyDataGrid_PageIndexChanged" PageSize="8" AllowPaging="True"
  30. OnSortCommand="MyDataGrid_Sort" AllowSorting="true" AutoGenerateColumns="False" DataKeyField="MessageID"
  31. OnItemDataBound="MyDataGrid_ItemDataBound">
  32. <AlternatingItemStyle BackColor="AliceBlue"></AlternatingItemStyle>
  33. <ItemStyle CssClass="normal"></ItemStyle>
  34. <HeaderStyle HorizontalAlign="Center" BorderStyle="Outset" BackColor="#D0D8DF"></HeaderStyle>
  35. <Columns>
  36. <asp:BoundColumn DataField="Contents" SortExpression="Contents" HeaderText="信息内容">
  37. <HeaderStyle Width="30%"></HeaderStyle>
  38. </asp:BoundColumn>
  39. <asp:BoundColumn DataField="Date" SortExpression="Date" HeaderText="发送时间" DataFormatString="{0:yy-MM-dd hh:mm}">
  40. <HeaderStyle Width="12%"></HeaderStyle>
  41. </asp:BoundColumn>
  42. <asp:BoundColumn DataField="AccepterID" SortExpression="AccepterID" HeaderText="接收人">
  43. <HeaderStyle Width="15%"></HeaderStyle>
  44. </asp:BoundColumn>
  45. <asp:BoundColumn DataField="Attachment" HeaderText="附件">
  46. <HeaderStyle Width="13%"></HeaderStyle>
  47. </asp:BoundColumn>
  48. <asp:ButtonColumn ButtonType="LinkButton" Text="修改再发" HeaderText="操作">
  49. <HeaderStyle Width="10%"></HeaderStyle>
  50. </asp:ButtonColumn>
  51. <asp:ButtonColumn ButtonType="LinkButton" Text="查看" HeaderText="信息状态">
  52. <HeaderStyle Width="10%"></HeaderStyle>
  53. </asp:ButtonColumn>
  54. <asp:ButtonColumn Text="删除" HeaderText="删除" CommandName="Delete">
  55. <HeaderStyle Width="10%"></HeaderStyle>
  56. </asp:ButtonColumn>
  57. </Columns>
  58. <PagerStyle NextPageText="下页 &gt;&gt;" PrevPageText="&lt;&lt; 上页" HorizontalAlign="Right"></PagerStyle>
  59. </asp:datagrid></TD>
  60. </TR>
  61. </TABLE>
  62. </form>
  63. </body>
  64. </HTML>