CreateTable.aspx 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="CreateTable.aspx.cs" Inherits="Admin_CreateTable" %>
  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 id="Head1" runat="server">
  5. <title></title>
  6. <link href="../JS/tableCss.css" rel="stylesheet" type="text/css" />
  7. <link href="../JS/ASPNET2BaseCss.css" rel="stylesheet" type="text/css" />
  8. <style>
  9. #maindiv{
  10. height:auto;
  11. border:#06F 1px groove;
  12. margin:0 auto;
  13. margin-top:10px;
  14. border-radius:15px;
  15. box-shadow:#CCC 6px 6px;
  16. padding:10px;
  17. font-size:12px;
  18. background-color:White;
  19. }
  20. #menu1{
  21. background-color:#E7F4F8;
  22. border:#03C 1px dotted;
  23. border-radius:8px;
  24. color:#FFF;
  25. padding:3px;
  26. box-shadow:#859CAD 4px 4px;
  27. text-align:left;
  28. color:#333399;
  29. }
  30. #stNav
  31. {
  32. padding:5px;
  33. margin-top:6px;
  34. background-color:#87B6E9;
  35. text-align:center;
  36. border:#F00 1px thick;
  37. box-shadow:#859CAD 3px 3px;
  38. border-radius:10px;
  39. }
  40. table
  41. {box-shadow:#859CAD 3px 3px;
  42. border-radius:5px;
  43. table-layout:fixed;
  44. empty-cells:show;
  45. border-collapse:collapse;
  46. margin:0 auto;
  47. border:1px solid #000033;
  48. color:#666;
  49. }
  50. table td{border:1px solid #94C4EF}
  51. h2{
  52. font-size:32px;
  53. font-family:"黑体";
  54. text-align:center;
  55. color:#00C;
  56. text-shadow:#000 2px 2px 5px, #FFFFFF -1px -1px 8px,2px 2px 6px #000000;
  57. }
  58. .TextBox1
  59. {
  60. width:98%;
  61. height:300px;
  62. }
  63. .zhpj
  64. {
  65. font-size:22px;
  66. font-family:楷体;
  67. background-color:#E2F2F0;
  68. }
  69. </style>
  70. </head>
  71. <body>
  72. <form id="form1" runat="server">
  73. <div id="maindiv">
  74. <div id="stNav">
  75. &nbsp;&nbsp;&nbsp;<table width='96%' height='111' border='1' align="center" cellspacing='1'
  76. bordercolor="#C1E7FD" bgcolor="#F4FCFF">
  77. <!--DWLayoutTable-->
  78. <tr bgcolor="#E2F2FC">
  79. <td height='33' align="center">
  80. <h2>
  81. <asp:Literal ID="Literal2" runat="server">动态创建表</asp:Literal></h2>
  82. </td>
  83. </tr>
  84. <tr align='center' >
  85. <td align='center' valign='middle' nowrap >
  86. <asp:TextBox ID="TextBox1" CssClass="TextBox1" runat="server"
  87. TextMode="MultiLine" ></asp:TextBox>
  88. <br />
  89. <asp:Button ID="Button1" runat="server" Height="31px" Text="创建"
  90. Width="100px" onclick="Button1_Click" />
  91. &nbsp;<asp:Button ID="Button3" runat="server" Height="26px"
  92. onclick="Button3_Click" Text="执行SQL语句" Width="102px" />
  93. </td>
  94. </tr>
  95. <tr bgcolor="#E2F2FC">
  96. <td>
  97. <asp:Literal ID="Literal1" runat="server" Text="显示已经存在的表"></asp:Literal> </td> </tr>
  98. </table>
  99. <br />
  100. </div>
  101. </div>
  102. </form>
  103. </body>
  104. </html>