frmBdHyHgEdit.aspx 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="frmBdHyHgEdit.aspx.cs" Inherits="AppFms_Bdhy_frmBdHyHgEdit" %>
  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. <link href="../../Themes/Default/eci.css" rel="stylesheet" />
  7. <!-- #include File="../../App/Common/PageLoad.aspx" -->
  8. <script type="text/javascript">
  9. function addAction() {
  10. if(eci.hasSave())
  11. {
  12. var url = "frmBdHyHgEdit.aspx";
  13. window.location.href=url;
  14. }
  15. }
  16. </script>
  17. </head>
  18. <body>
  19. <form id="form1" runat="server">
  20. <input type="hidden" id="hidKey" runat="server" />
  21. <div id="root">
  22. <asp:ETitle runat="server" ID="pagetitle" Title="海港信息维护"></asp:ETitle>
  23. <div id="toolbar" class="toolbar">
  24. <asp:EButton runat="server" ID="btnSave" Text="保存" NeedCheck="true" ValidateId="tbEdit" OnClick="btnSave_Click" Icon="save" />
  25. <asp:EButton runat="server" ID="btnAdd" Text="新增" Icon="Add" OnClientClick="addAction();" IsClient="true" />
  26. <asp:EButton runat="server" IsClient="true" ID="btnClose" Text="关闭" Icon="close" OnClientClick="eci.close();" />
  27. </div>
  28. <div>
  29. <table id="tbEdit" class="grid" cellpadding="0" cellspacing="0" >
  30. <tr>
  31. <th style="width: 10%"></th>
  32. <th style="width: 20%"></th>
  33. <th style="width: 10%"></th>
  34. <th style="width: 20%"></th>
  35. <th style="width: 10%"></th>
  36. <th style="width: 20%"></th>
  37. </tr>
  38. <tr>
  39. <td class="lbl">港口代码</td>
  40. <td><asp:ETextBox runat="server" ID ="txtCode" DataField="CODE" NotNull="true" Width="85%"></asp:ETextBox></td>
  41. <td class="lbl">港口中文名称</td>
  42. <td><asp:ETextBox runat="server" ID ="txtName" DataField="NAME" NotNull="true" Width="85%"></asp:ETextBox></td>
  43. <td class="lbl">港口英文名称</td>
  44. <td><asp:ETextBox runat="server" ID ="txtNameEn" DataField="NAME_EN" Width="85%"></asp:ETextBox></td>
  45. </tr>
  46. <tr>
  47. <td class="lbl">城市代码</td>
  48. <td><asp:ETextBox runat="server" ID ="txtCity" DataField="CITY" NotNull="true" Width="85%"></asp:ETextBox></td>
  49. <td class="lbl">城市中文名称</td>
  50. <td><asp:ETextBox runat="server" ID ="txtCityName" DataField="CITY_NAME" NotNull="true" Width="85%"></asp:ETextBox></td>
  51. <td class="lbl">城市英文名称</td>
  52. <td><asp:ETextBox runat="server" ID ="txtCityNameEn" DataField="CITY_NAME_EN" Width="85%"></asp:ETextBox></td>
  53. </tr>
  54. <tr>
  55. <td class="lbl">国家代码</td>
  56. <td><asp:ETextBox runat="server" ID ="txtCountry" DataField="COUNTRY" NotNull="true" Width="85%"></asp:ETextBox></td>
  57. <td class="lbl">国家中文名称</td>
  58. <td><asp:ETextBox runat="server" ID ="txtCountryName" DataField="COUNTRY_NAME" NotNull="true" Width="85%"></asp:ETextBox></td>
  59. <td class="lbl">国家英文名称</td>
  60. <td><asp:ETextBox runat="server" ID ="txtCountryNameEn" DataField="COUNTRY_NAME_EN" Width="85%"></asp:ETextBox></td>
  61. </tr>
  62. </table>
  63. </div>
  64. </div>
  65. </form>
  66. </body>
  67. </html>