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

OA系统

开发平台:

C#

  1. <%@ Register TagPrefix="uc1" TagName="Mymenu" Src="MENU/Mymenu.ascx" %>
  2. <%@ Page language="c#" Codebehind="MyPendingDocument.aspx.cs" AutoEventWireup="false" Inherits="OA.PendingDocument" %>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  4. <HTML>
  5. <HEAD>
  6. <title>MySenderDocument</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. PagerStyle-PrevPageText="<< 上页" PagerStyle-NextPageText="下页 >>" PagerStyle-HorizontalAlign="Right" ItemStyle-CssClass="normal"
  28. HeaderStyle-HorizontalAlign="center" AlternatingItemStyle-BackColor="#f0f8ff" HeaderStyle-BackColor="#d0d8df"
  29. OnPageIndexChanged="MyDataGrid_PageIndexChanged" PageSize="4" AllowPaging="True" OnSortCommand="MyDataGrid_Sort"
  30. AllowSorting="true" AutoGenerateColumns="False" DataKeyField="DocumentID" OnItemDataBound="MyDataGrid_ItemDataBound">
  31. <AlternatingItemStyle BackColor="AliceBlue"></AlternatingItemStyle>
  32. <ItemStyle CssClass="normal"></ItemStyle>
  33. <HeaderStyle HorizontalAlign="Center" BorderStyle="Outset" BackColor="#D0D8DF"></HeaderStyle>
  34. <Columns>
  35. <asp:HyperLinkColumn DataNavigateUrlField="DocumentID" DataNavigateUrlFormatString="javascript:var screenheight=screen.height-60;var screenwidth=screen.width-160;window.open('DocumentDetails.aspx?DocumentID={0}','_blank','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,revisable=no,left=150,top=0,width=600,height='+screenheight+',');window.opener=null;window.close();"
  36. DataTextField="Title" SortExpression="Title" HeaderText="文档标题">
  37. <HeaderStyle Width="30%"></HeaderStyle>
  38. </asp:HyperLinkColumn>
  39. <asp:BoundColumn DataField="Date" SortExpression="Date" HeaderText="发送时间" DataFormatString="{0:yy-MM-dd hh:mm}">
  40. <HeaderStyle Width="15%"></HeaderStyle>
  41. </asp:BoundColumn>
  42. <asp:BoundColumn DataField="PersonID" SortExpression="PersonID" HeaderText="发送人">
  43. <HeaderStyle Width="10%"></HeaderStyle>
  44. </asp:BoundColumn>
  45. <asp:BoundColumn DataField="WriterID" SortExpression="WriterID" HeaderText="原作">
  46. <HeaderStyle Width="10%"></HeaderStyle>
  47. </asp:BoundColumn>
  48. <asp:BoundColumn HeaderText="文档类型">
  49. <HeaderStyle Width="15%"></HeaderStyle>
  50. </asp:BoundColumn>
  51. <asp:BoundColumn HeaderText="审阅形式">
  52. <HeaderStyle Width="15%"></HeaderStyle>
  53. </asp:BoundColumn>
  54. </Columns>
  55. <PagerStyle NextPageText="下页 &gt;&gt;" PrevPageText="&lt;&lt; 上页" HorizontalAlign="Right"></PagerStyle>
  56. </asp:datagrid></TD>
  57. </TR>
  58. </TABLE>
  59. </form>
  60. </body>
  61. </HTML>