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

OA系统

开发平台:

C#

  1. <%@ Register TagPrefix="uc1" TagName="Mymenu" Src="MENU/Mymenu.ascx" %>
  2. <%@ Page language="c#" Codebehind="ManageDocument.aspx.cs" AutoEventWireup="false" Inherits="OA.ManageDocument" %>
  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="4" AllowPaging="True"
  30. OnSortCommand="MyDataGrid_Sort" AllowSorting="true" AutoGenerateColumns="False" DataKeyField="DocumentID"
  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:HyperLinkColumn DataNavigateUrlField="DocumentID" DataNavigateUrlFormatString="javascript:var screenheight=screen.height-60;var screenwidth=screen.width-160;window.open('DocumentDetails.aspx?DocumentID={0}&ResultID=1','_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();"
  37. DataTextField="Title" SortExpression="Title" HeaderText="文档标题">
  38. <HeaderStyle Width="30%"></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="PersonID" SortExpression="PersonID" HeaderText="发送人">
  44. <HeaderStyle Width="10%"></HeaderStyle>
  45. </asp:BoundColumn>
  46. <asp:BoundColumn DataField="WriterID" SortExpression="WriterID" HeaderText="原作">
  47. <HeaderStyle Width="10%"></HeaderStyle>
  48. </asp:BoundColumn>
  49. <asp:BoundColumn HeaderText="文档类型">
  50. <HeaderStyle Width="15%"></HeaderStyle>
  51. </asp:BoundColumn>
  52. <asp:BoundColumn HeaderText="审阅形式">
  53. <HeaderStyle Width="15%"></HeaderStyle>
  54. </asp:BoundColumn>
  55. <asp:ButtonColumn Text="删除" HeaderText="删除" CommandName="Delete">
  56. <HeaderStyle Width="10%"></HeaderStyle>
  57. </asp:ButtonColumn>
  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>