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

OA系统

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="ManageSystem.aspx.cs" AutoEventWireup="false" Inherits="OA.ManageSystem1" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <title>MySenderMessage</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. <script language="javascript">
  16. function SelectSystem_onclick(){
  17. var c = window.showModalDialog("SelectCaller.aspx","","scroll:0;status:0;help:0;resizable:0;dialogWidth:400px;dialogHeight:380px")
  18. if(c != null)
  19. document.all.System.value=c
  20. }
  21. </script>
  22. </HEAD>
  23. <body oncontextmenu="return false" topMargin="2" leftmargin="2">
  24. <form id="Form1" method="post" runat="server">
  25. <TABLE id="Table1" style="Z-INDEX: 103; LEFT: 8px; TOP: 100px" cellSpacing="1" cellPadding="1"
  26. width="100%" align="center" border="1">
  27. <TR>
  28. <TD style="HEIGHT: 30px" vAlign="middle" align="left" width="60%"><FONT face="宋体">体系列表:</FONT></TD>
  29. <TD style="HEIGHT: 30px" vAlign="middle" align="center" width="40%" colSpan="2"><FONT face="宋体">添加新项</FONT></TD>
  30. </TR>
  31. <TR>
  32. <TD vAlign="top" align="center" width="60%"><asp:datagrid id="MyDataGrid" runat="server" OnItemDataBound="MyDataGrid_ItemDataBound" DataKeyField="SystemID"
  33. AutoGenerateColumns="False" HeaderStyle-BackColor="#d0d8df" AlternatingItemStyle-BackColor="#f0f8ff" HeaderStyle-HorizontalAlign="center"
  34. ItemStyle-CssClass="normal" OnDeleteCommand="MyDataGrid_Delete" Width="100%" OnCancelCommand="MyDataGrid_Cancel" OnUpdateCommand="MyDataGrid_Update"
  35. OnEditCommand="MyDataGrid_Edit">
  36. <AlternatingItemStyle BackColor="AliceBlue"></AlternatingItemStyle>
  37. <ItemStyle CssClass="normal"></ItemStyle>
  38. <HeaderStyle HorizontalAlign="Center" BorderStyle="Outset" BackColor="#D0D8DF"></HeaderStyle>
  39. <Columns>
  40. <asp:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" HeaderText="操作" CancelText="取消" EditText="修改">
  41. <HeaderStyle Width="20%"></HeaderStyle>
  42. </asp:EditCommandColumn>
  43. <asp:ButtonColumn Text="删除" HeaderText="删除" CommandName="Delete">
  44. <HeaderStyle Width="20%"></HeaderStyle>
  45. </asp:ButtonColumn>
  46. <asp:BoundColumn DataField="SystemName" HeaderText="体系名称"></asp:BoundColumn>
  47. </Columns>
  48. </asp:datagrid></TD>
  49. <TD vAlign="middle" align="center" width="40%" colSpan="2"><FONT face="宋体">
  50. <P><asp:textbox id="SystemName" runat="server" Width="312px"></asp:textbox></P>
  51. <P><INPUT id="AddSystem" style="COLOR: background; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: transparent; BORDER-BOTTOM-STYLE: none"
  52. type="button" value="添加" name="Button1" runat="server">
  53. </FONT></P></TD>
  54. </TR>
  55. </TABLE>
  56. </form>
  57. </body>
  58. </HTML>