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

OA系统

开发平台:

C#

  1. <%@ Register TagPrefix="uc1" TagName="Mymenu" Src="MENU/Mymenu.ascx" %>
  2. <%@ Page language="c#" Codebehind="MyReceiveFile.aspx.cs" AutoEventWireup="false" Inherits="OA.MyReceiveFile" %>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  4. <HTML>
  5. <HEAD>
  6. <title>MyReceiveFile</title>
  7. <style type="text/css">TABLE { FONT-SIZE: 9pt }
  8. BODY { FONT-SIZE: 9pt }
  9. .Grid { BORDER-RIGHT: honeydew thin outset; BORDER-TOP: honeydew thin outset; BORDER-LEFT: honeydew thin outset; BORDER-BOTTOM: honeydew thin outset; HEIGHT: 22px }
  10. </style>
  11. <LINK href="baseStyle.css" type="text/css" rel="stylesheet">
  12. <LINK href="MENU/menuStyle.css" type="text/css" rel="stylesheet">
  13. <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
  14. <meta content="C#" name="CODE_LANGUAGE">
  15. <meta content="JavaScript" name="vs_defaultClientScript">
  16. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  17. </HEAD>
  18. <body topMargin="5" oncontextmenu='return false'>
  19. <form id="Form1" method="post" runat="server">
  20. <uc1:mymenu id="Mymenu1" runat="server" MenuData="MENU/MenuData.xml"></uc1:mymenu>
  21. <TABLE id="Table1" style="Z-INDEX: 103; LEFT: 8px; TOP: 100px" cellSpacing="1" cellPadding="1"
  22. width="100%" border="1">
  23. <TR>
  24. <TD style="HEIGHT: 30px" vAlign="middle" align="right" width="100%"><asp:label id="stats" runat="server"></asp:label></TD>
  25. </TR>
  26. <TR>
  27. <TD vAlign="top"><asp:datagrid id="MyDataGrid" runat="server" Width="100%" OnItemCreated="MyDataGrid_ItemCreated"
  28. PagerStyle-PrevPageText="<< 上页" PagerStyle-NextPageText="下页 >>" PagerStyle-HorizontalAlign="Right" ItemStyle-CssClass="normal"
  29. HeaderStyle-HorizontalAlign="center" AlternatingItemStyle-BackColor="#f0f8ff" HeaderStyle-BackColor="#d0d8df"
  30. OnPageIndexChanged="MyDataGrid_PageIndexChanged" PageSize="8" AllowPaging="True" OnSortCommand="MyDataGrid_Sort"
  31. AllowSorting="true" AutoGenerateColumns="False" DataKeyField="FileID" OnItemDataBound="MyDataGrid_ItemDataBound">
  32. <AlternatingItemStyle BackColor="AliceBlue"></AlternatingItemStyle>
  33. <ItemStyle CssClass="normal"></ItemStyle>
  34. <HeaderStyle CssClass="Grid" HorizontalAlign="Center" BorderStyle="Outset" BackColor="#D0D8DF"></HeaderStyle>
  35. <Columns>
  36. <asp:HyperLinkColumn DataNavigateUrlField="FileID" DataNavigateUrlFormatString="javascript:var screenheight=screen.height-60;var screenwidth=screen.width-160;window.open('FileDetails.aspx?FileID={0}','_blank','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,revisable=no,left=150,top=0,width='+screenwidth+',height='+screenheight+',');window.opener=null;window.close();"
  37. DataTextField="Title" SortExpression="Title" HeaderText="文件标题">
  38. <HeaderStyle Width="35%"></HeaderStyle>
  39. </asp:HyperLinkColumn>
  40. <asp:BoundColumn DataField="Date" SortExpression="Date" HeaderText="发送时间" DataFormatString="{0:yy-MM-dd hh:mm}">
  41. <HeaderStyle Width="15%"></HeaderStyle>
  42. </asp:BoundColumn>
  43. <asp:BoundColumn DataField="Writer" SortExpression="Writer" HeaderText="起草人">
  44. <HeaderStyle Width="10%"></HeaderStyle>
  45. </asp:BoundColumn>
  46. <asp:BoundColumn DataField="PersonID" SortExpression="PersonID" HeaderText="发送人">
  47. <HeaderStyle Width="10%"></HeaderStyle>
  48. </asp:BoundColumn>
  49. <asp:BoundColumn DataField="FileKind" SortExpression="FileKind" HeaderText="文件类别">
  50. <HeaderStyle Width="10%"></HeaderStyle>
  51. </asp:BoundColumn>
  52. <asp:BoundColumn DataField="SystemID" SortExpression="SystemID" HeaderText="公司">
  53. <HeaderStyle Width="10%"></HeaderStyle>
  54. </asp:BoundColumn>
  55. <asp:BoundColumn DataField="OrganizationID" SortExpression="OrganizationID" HeaderText="归口部门">
  56. <HeaderStyle Width="10%"></HeaderStyle>
  57. </asp:BoundColumn>
  58. </Columns>
  59. <PagerStyle NextPageText="下页 &gt;&gt;" PrevPageText="&lt;&lt; 上页" HorizontalAlign="Right"></PagerStyle>
  60. </asp:datagrid></TD>
  61. </TR>
  62. </TABLE>
  63. </form>
  64. </body>
  65. </HTML>