GenerateSheet.aspx
上传用户:li2971742
上传日期:2021-11-18
资源大小:39096k
文件大小:5k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="GenerateSheet.aspx.cs" Inherits="OThinker.H3.Portal.GenerateSheet" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head runat="server">
  5.     <title>生成表单</title>
  6.     <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
  7. <meta name="CODE_LANGUAGE" Content="C#">
  8. <meta name="vs_defaultClientScript" content="JavaScript">
  9. <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
  10. <link rel="stylesheet" type="text/css" href="css/style.CSS">
  11.     <style type="text/css">
  12.         .style1
  13.         {
  14.             width: 115px;
  15.         }
  16.         .style2
  17.         {
  18.             width: 160px;
  19.         }
  20.     </style>
  21. </head>
  22. <body topmargin=0 leftmargin=0>
  23.     <form id="form1" runat="server">
  24. <table width="100%" class="ms-vb2" cellpadding="0" cellspacing="0">
  25. <tr>
  26. <td width="100%" height="29" background="images/Top_4.gif"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  27. <tr>
  28. <td width="2%"><img src="images/Top_5.gif" width="14" height="16"></td>
  29. <td class="bigfont">生成表单</td>
  30. </tr>
  31. </table>
  32. </td>
  33. </tr>
  34. </table>
  35. <table width=100%>
  36. <tr><td height="24" bgcolor="#7f97da">
  37. <asp:imagebutton id="Imagebutton1" runat="server" ImageUrl="images/IB_Query.gif"></asp:imagebutton>
  38. &nbsp;<asp:linkbutton id="btnGenerateCs" runat="server" ForeColor="#FFFFFF" 
  39.                             onclick="btnGenerateCs_Click">生成CS文件</asp:linkbutton>&nbsp;| 
  40.                         <asp:linkbutton id="btnGenerateAspx" runat="server" ForeColor="#FFFFFF" 
  41.                             OnClick="btnGenerateAspx_Click">生成ASPX文件</asp:linkbutton></td></tr>
  42. </table>
  43.     <TABLE id="Table1" cellSpacing="0" cellPadding="2" width="100%">
  44. <TR>
  45. <TD class="style1">
  46. <asp:label id="Label1" runat="server" DESIGNTIMEDRAGDROP="137">模板类型</asp:label>
  47. </TD>
  48. <TD class="style2">
  49. <asp:dropdownlist id="lstWorkflowPackage" runat="server" AutoPostBack="True" Width="152px" onselectedindexchanged="lstWorkflowPackage_SelectedIndexChanged"></asp:dropdownlist></TD>
  50. <TD>
  51. &nbsp;</TD>
  52. </TR>
  53. <TR>
  54. <TD class="style1">
  55. <asp:label id="Label2" runat="server">模板名称</asp:label>
  56. </TD>
  57. <TD class="style2">
  58. <asp:dropdownlist id="lstWorkflowName" runat="server" AutoPostBack="True" Width="152px" onselectedindexchanged="lstWorkflowName_SelectedIndexChanged"></asp:dropdownlist></TD>
  59. <TD>
  60. &nbsp;</TD>
  61. </TR>
  62. <TR>
  63. <TD class="style1">
  64. <asp:label id="Label3" runat="server">版本号</asp:label>
  65. </TD>
  66. <TD class="style2">
  67. <asp:dropdownlist id="lstWorkflowVersion" runat="server" AutoPostBack="True" Width="152px"></asp:dropdownlist></TD>
  68. <TD>
  69. &nbsp;</TD>
  70. </TR>
  71. <TR>
  72. <TD class="style1">
  73. 名称空间</TD>
  74. <TD class="style2">
  75. <asp:TextBox ID="txtNameSpace" runat="server"></asp:TextBox>
  76.                                 </TD>
  77. <TD>
  78. 比如:OThinker.H3.Sheets</TD>
  79. </TR>
  80. <TR>
  81. <TD class="style1">
  82. &nbsp;</TD>
  83. <TD class="style2">
  84.                                     <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
  85.                                         ControlToValidate="txtNameSpace" ErrorMessage="请输入名称空间"></asp:RequiredFieldValidator>
  86.                                 </TD>
  87. <TD>
  88. &nbsp;</TD>
  89. </TR>
  90. <TR>
  91. <TD class="style1">
  92. 类名/文件名</TD>
  93. <TD class="style2">
  94. <asp:TextBox ID="txtClassName" runat="server"></asp:TextBox>
  95.                                 </TD>
  96. <TD>
  97. 比如:Audit</TD>
  98. </TR>
  99. <TR>
  100. <TD class="style1">
  101. &nbsp;</TD>
  102. <TD class="style2">
  103.                                     <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
  104.                                         ControlToValidate="txtClassName" ErrorMessage="请输入类名称"></asp:RequiredFieldValidator>
  105.                                 </TD>
  106. <TD>
  107. &nbsp;</TD>
  108. </TR>
  109. </TABLE>
  110.     </form>
  111. </body>
  112. </html>