psSet.aspx
上传用户:kaisitong
上传日期:2022-01-01
资源大小:3672k
文件大小:6k
源码类别:

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="vb" AutoEventWireup="false" Codebehind="psSet.aspx.vb" Inherits="ioffice.psSet"%>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <HTML>
  4. <HEAD>
  5. <title></title>
  6. <meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
  7. <meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
  8. <meta content="JavaScript" name="vs_defaultClientScript">
  9. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10. <LINK href="../../Styles.css" type="text/css" rel="stylesheet">
  11. <script language="javascript">
  12. function showhelp()
  13. {
  14. window.showHelp()
  15. }
  16. </script>
  17. </HEAD>
  18. <body MS_POSITIONING="GridLayout">
  19. <form id="Form1" method="post" runat="server">
  20. <FONT face="宋体" size="3">
  21. <TABLE style="WIDTH: 100%; POSITION: absolute; HEIGHT: 363px" cellSpacing="0" cellPadding="0" border="0">
  22. <TR>
  23. <TD style="HEIGHT: 10px">
  24. </TD>
  25. </TR>
  26. <TR>
  27. <TD vAlign="top" align="middle">
  28. <TABLE style="WIDTH: 376px; HEIGHT: 386px" cellSpacing="0" cellPadding="0" border="0">
  29. <TR>
  30. <TD class="" style="WIDTH: 453px" vAlign="top">
  31. <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
  32. <TR>
  33. <TD>
  34. <asp:image id="imgTitle" runat="server" ImageUrl="../../img/button/psmrachiev.gif" ImageAlign="AbsBottom"></asp:image>
  35. </TD>
  36. </TR>
  37. </TABLE>
  38. <TABLE style="WIDTH: 100%; HEIGHT: 84px" cellSpacing="0" cellPadding="0" border="0">
  39. <TR>
  40. <TD class="box" style="PADDING-RIGHT: 20px; PADDING-LEFT: 20px; PADDING-BOTTOM: 20px; PADDING-TOP: 20px" vAlign="top">
  41. <TABLE style="WIDTH: 99.7%; HEIGHT: 33px" cellSpacing="0" cellPadding="0" border="0">
  42. <TR>
  43. <TD class="td" noWrap vAlign="top">
  44. <asp:label id="Label1" runat="server" CssClass="tttable"> 自定义属性名称:</asp:label>
  45. <asp:textbox id="txtPropName" runat="server" CssClass="edline" Width="160px"></asp:textbox>
  46. <asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ControlToValidate="txtPropName" ErrorMessage="要新增的[自定义属性名称]不能为空!">*</asp:requiredfieldvalidator>
  47. <asp:linkbutton id="cmdAdd" runat="server" CssClass="td" Width="40px"><img src="../../img/add.gif" border="0" align="absbottom">&nbsp;新增...</asp:linkbutton>
  48. </TD>
  49. </TR>
  50. </TABLE>
  51. <asp:datagrid id="dgdPs" runat="server" CssClass="td" Width="100%" BorderColor="#999999" DataKeyField="id" AutoGenerateColumns="False">
  52. <HeaderStyle CssClass="tttable" BackColor="#D8C8A8"></HeaderStyle>
  53. <SelectedItemStyle BackColor="LightSteelBlue"></SelectedItemStyle>
  54. <Columns>
  55. <asp:TemplateColumn HeaderText="自定义属性名称">
  56. <ItemTemplate>
  57. <asp:Label id="Label2" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.propname") %>'></asp:Label>
  58. </ItemTemplate>
  59. <EditItemTemplate>
  60. <asp:TextBox id="txtName" runat="server" CssClass="ednone" Width="280px" Text='<%# DataBinder.Eval(Container, "DataItem.propname") %>'></asp:TextBox>
  61. </EditItemTemplate>
  62. </asp:TemplateColumn>
  63. <asp:TemplateColumn>
  64. <HeaderStyle Width="20px">
  65. </HeaderStyle>
  66. <ItemTemplate>
  67. <asp:LinkButton id="LinkButton3" runat="server" CommandName="Edit" Text="<img src=../../img/edit.gif border=0 alt=编辑 />" CausesValidation="false"></asp:LinkButton>
  68. </ItemTemplate>
  69. <EditItemTemplate>
  70. <asp:LinkButton id="LinkButton2" runat="server" CommandName="Update" Text="<img src=../../img/button/save.gif alt=保存 border=0  />" CausesValidation="False">
  71. <img src="../../img/button/save.gif" alt="保存" border="0" /></asp:LinkButton>&nbsp;
  72. <asp:LinkButton id="LinkButton1" runat="server" CommandName="Cancel" Text="<img src=../../img/button/upcancel.gif alt=取消 border=0 />" CausesValidation="false"></asp:LinkButton>
  73. </EditItemTemplate>
  74. </asp:TemplateColumn>
  75. <asp:ButtonColumn Text="&lt;img src=../../img/delete.gif alt=删除 border=0 /&gt;" CommandName="Delete">
  76. <HeaderStyle Width="20px">
  77. </HeaderStyle>
  78. </asp:ButtonColumn>
  79. </Columns>
  80. </asp:datagrid>
  81. </TD>
  82. </TR>
  83. </TABLE>
  84. <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
  85. <TR>
  86. <TD height="10">
  87. </TD>
  88. </TR>
  89. <TR>
  90. <TD>
  91. <asp:imagebutton id="cmdExit" runat="server" ImageUrl="../../img/button/exit.gif" CausesValidation="False"></asp:imagebutton>
  92. <A onclick="showhelp()" href="#"><IMG alt="获得帮助" src="../../img/button/help.gif" border="0"></A>
  93. </TD>
  94. </TR>
  95. </TABLE>
  96. <asp:label id="lblPt" runat="server" Visible="False"></asp:label>
  97. <asp:label id="lblT" runat="server" Visible="False"></asp:label>
  98. <asp:validationsummary id="ValidationSummary1" runat="server" ShowSummary="False" ShowMessageBox="True" HeaderText="出现错误!"></asp:validationsummary>
  99. <asp:label id="lblErr" runat="server" CssClass="err" Visible="False"></asp:label>
  100. </TD>
  101. </TR>
  102. </TABLE>
  103. </TD>
  104. </TR>
  105. </TABLE>
  106. </FONT>
  107. </form>
  108. </body>
  109. </HTML>