RoadFlow2.1 临时演示

Edit.aspx 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="WebForm.Platform.DBConnection.Edit" %>
  2. <!DOCTYPE html>
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head runat="server">
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  6. <title></title>
  7. </head>
  8. <body>
  9. <form id="form1" runat="server" onsubmit="return new RoadUI.Validate().validateForm(document.forms[0]);">
  10. <br />
  11. <table cellpadding="0" cellspacing="1" border="0" width="99%" class="formtable">
  12. <tr>
  13. <th style="width: 80px;">
  14. 连接名称:
  15. </th>
  16. <td>
  17. <input type="text" name="Name" id="Name" class="mytext" runat="server" validate="empty" style="width: 75%" />
  18. </td>
  19. </tr>
  20. <tr>
  21. <th>
  22. 连接类型:
  23. </th>
  24. <td>
  25. <select id="LinkType" class="myselect" name="LinkType" validate="empty"><option value=""></option><asp:Literal ID="TypeOptions" runat="server"></asp:Literal></select>
  26. </td>
  27. </tr>
  28. <tr>
  29. <th>
  30. 连接字符串:
  31. </th>
  32. <td>
  33. <textarea class="mytext" name="ConnStr" id="ConnStr" cols="1" rows="1" style="width: 95%; height: 50px;" runat="server"></textarea>
  34. </td>
  35. </tr>
  36. <tr>
  37. <th>
  38. 备注:
  39. </th>
  40. <td>
  41. <textarea class="mytext" name="Note" id="Note" cols="1" rows="1" style="width: 95%; height: 50px;" runat="server"></textarea>
  42. </td>
  43. </tr>
  44. </table>
  45. <div class="buttondiv">
  46. <input type="submit" value="确定保存" class="mybutton" />
  47. <input type="button" class="mybutton" value="取消关闭" style="margin-left: 5px;" onclick="closewin();" />
  48. </div>
  49. <script type="text/javascript">
  50. var win = new RoadUI.Window();
  51. $(window).load(function ()
  52. {
  53. });
  54. function closewin()
  55. {
  56. win.close();
  57. return false;
  58. }
  59. </script>
  60. </form>
  61. </body>
  62. </html>