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

OA系统

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="ManageOrganization.aspx.cs" AutoEventWireup="false" Inherits="OA.ManageSystem" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <title>安泰自动办公系统</title>
  6. <style type="text/css">TABLE { FONT-SIZE: 9pt }
  7. BODY { FONT-SIZE: 9pt }
  8. </style>
  9. <LINK href="baseStyle.css" type="text/css" rel="stylesheet">
  10. <LINK href="MENU/menuStyle.css" type="text/css" rel="stylesheet">
  11. <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
  12. <meta content="C#" name="CODE_LANGUAGE">
  13. <meta content="JavaScript" name="vs_defaultClientScript">
  14. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  15. </HEAD>
  16. <body topMargin="2" leftmargin="2" oncontextmenu='return false'>
  17. <form id="Form1" method="post" runat="server">
  18. <TABLE id="Table1" style="Z-INDEX: 103; LEFT: 8px; POSITION: static; TOP: 100px" cellSpacing="1"
  19. cellPadding="1" width="100%" border="1">
  20. <TR>
  21. <TD style="HEIGHT: 30px" vAlign="middle" align="left" width="50%">
  22. <asp:LinkButton id="AddOrganization" runat="server">添加新机构</asp:LinkButton></TD>
  23. <TD style="HEIGHT: 30px" vAlign="middle" align="right" width="50%"><FONT face="宋体"> </FONT>
  24. <asp:label id="stats" runat="server"></asp:label></TD>
  25. </TR>
  26. <TR>
  27. <TD vAlign="top" colspan="2"><asp:datagrid id="MyDataGrid" runat="server" Width="100%" OnItemCreated="MyDataGrid_ItemCreated"
  28. OnDeleteCommand="MyDataGrid_Delete" PagerStyle-PrevPageText="<< 上页" PagerStyle-NextPageText="下页 >>" PagerStyle-HorizontalAlign="Right"
  29. ItemStyle-CssClass="normal" HeaderStyle-HorizontalAlign="center" AlternatingItemStyle-BackColor="#f0f8ff" HeaderStyle-BackColor="#d0d8df"
  30. OnPageIndexChanged="MyDataGrid_PageIndexChanged" PageSize="8" AllowPaging="True" OnSortCommand="MyDataGrid_Sort" AllowSorting="true"
  31. AutoGenerateColumns="False" DataKeyField="OrganizationID" 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="OrganizationName" SortExpression="OrganizationName" HeaderText="机构名称">
  37. <HeaderStyle Width="20%"></HeaderStyle>
  38. </asp:BoundColumn>
  39. <asp:BoundColumn DataField="SystemID" SortExpression="SystemID" HeaderText="隶属">
  40. <HeaderStyle Width="30%"></HeaderStyle>
  41. </asp:BoundColumn>
  42. <asp:ButtonColumn ButtonType="LinkButton" Text="修改" HeaderText="操作">
  43. <HeaderStyle Width="15%"></HeaderStyle>
  44. </asp:ButtonColumn>
  45. <asp:ButtonColumn Text="删除" HeaderText="删除" CommandName="Delete">
  46. <HeaderStyle Width="15%"></HeaderStyle>
  47. </asp:ButtonColumn>
  48. </Columns>
  49. <PagerStyle NextPageText="下页 &gt;&gt;" PrevPageText="&lt;&lt; 上页" HorizontalAlign="Right"></PagerStyle>
  50. </asp:datagrid></TD>
  51. </TR>
  52. </TABLE>
  53. </form>
  54. </body>
  55. </HTML>