BranchInf.aspx
上传用户:autodoor
上传日期:2022-08-04
资源大小:9973k
文件大小:7k
源码类别:

.net编程

开发平台:

Others

  1. <%@ Page Language="c#" AutoEventWireup="false" Codebehind="BranchInf.aspx.cs" Inherits="qminoa.Webs.MR.BranchSet" %>
  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="../lynn.css" type="text/css" rel="stylesheet">
  11. </HEAD>
  12. <body MS_POSITIONING="GridLayout">
  13. <form id="Form1" method="post" runat="server">
  14. <FONT face="宋体">
  15. <TABLE height="100%" cellSpacing="1" cellPadding="1" width="100%" border="0">
  16. <TR>
  17. <TD style="HEIGHT: 10px">
  18. </TD>
  19. </TR>
  20. <TR>
  21. <TD vAlign="top" align="middle">
  22. <TABLE id="Table1" style="WIDTH: 221px; HEIGHT: 6px" cellSpacing="0" cellPadding="1" width="221" bgColor="black" border="0">
  23. <TR>
  24. <TD>
  25. <TABLE id="Table2" style="WIDTH: 499px; HEIGHT: 382px" borderColor="#888888" cellSpacing="0" borderColorDark="#ffffff" cellPadding="0" bgColor="white">
  26. <TR>
  27. <TD vAlign="top">
  28. <TABLE id="Table3" cellSpacing="0" cellPadding="0" width="100%" border="0">
  29. <TR>
  30. <TD colSpan="1">
  31. <asp:ImageButton id="ImageButton1" runat="server" ImageAlign="AbsBottom" ImageUrl="../img/button/branch.gif"></asp:ImageButton></TD>
  32. </TR>
  33. </TABLE>
  34. <TABLE id="Table4" style="HEIGHT: 274px" cellSpacing="1" cellPadding="0" width="100%" border="0">
  35. <TR>
  36. <TD class="box" style="PADDING-RIGHT: 20px; PADDING-LEFT: 20px; PADDING-BOTTOM: 0px; PADDING-TOP: 20px" vAlign="top" width="100%">
  37. <HR style="WIDTH: 100%; HEIGHT: 2px" SIZE="2">
  38. <TABLE id="Table6" style="WIDTH: 100%; HEIGHT: 20px" cellSpacing="1" cellPadding="1" border="0">
  39. <TR>
  40. <TD class="tttable" style="WIDTH: 69px">机构名称
  41. </TD>
  42. <TD style="WIDTH: 134px" noWrap>
  43. <asp:textbox id="txtName" runat="server" CssClass="edline" Width="136px"></asp:textbox></TD>
  44. <TD class="tttable" style="WIDTH: 4px">
  45. <asp:requiredfieldvalidator id="valName" runat="server" CssClass="td" ControlToValidate="txtName" ErrorMessage="[机构名称]必须输入!" Font-Size="X-Small">*</asp:requiredfieldvalidator></TD>
  46. <TD class="tttable" style="WIDTH: 55px">机构简称
  47. </TD>
  48. <TD style="WIDTH: 53px" noWrap>
  49. <asp:textbox id="txtSimCode" runat="server" CssClass="edline" Width="72px"></asp:textbox></TD>
  50. <TD noWrap>
  51. <asp:requiredfieldvalidator id="valSimCode" runat="server" CssClass="td" ControlToValidate="txtSimCode" ErrorMessage="[机构简称]必须输入!" Font-Size="X-Small">*</asp:requiredfieldvalidator></TD>
  52. <TD noWrap>
  53. <asp:linkbutton id="cmdAdd" runat="server" CssClass="td" Font-Size="X-Small"><img src="../img/add.gif" border="0" align="absmiddle">添加...</asp:linkbutton></TD>
  54. </TR>
  55. </TABLE>
  56. <TABLE id="Table7" style="WIDTH: 0.01%; HEIGHT: 107px" cellSpacing="0" cellPadding="0" border="0">
  57. <TR>
  58. <TD vAlign="top">
  59. <TABLE width="100%" cellSpacing="0" cellPadding="0" bordercolordark="#ffffff" bordercolor="#888888" border="1">
  60. <tr>
  61. <td>
  62. <asp:datagrid id=dgdBranch runat="server" Width="445px" DataSource="<%# BraTB %>" DataKeyField="branchid"     BorderWidth="1px" BackColor="#F7F7F7" BorderColor="#F7F7F7" CssClass="table" BorderStyle="Solid"  AutoGenerateColumns="False" Font-Size="X-Small">
  63. <SelectedItemStyle BackColor="Transparent"></SelectedItemStyle>
  64. <EditItemStyle ForeColor="Black" BackColor="Black"></EditItemStyle>
  65. <AlternatingItemStyle BorderColor="White" BackColor="White"></AlternatingItemStyle>
  66. <ItemStyle CssClass="textcenter" BackColor="#DEDFDE"></ItemStyle>
  67. <HeaderStyle CssClass="headcenter"></HeaderStyle>
  68. <FooterStyle CssClass="headcenter"></FooterStyle>
  69. <Columns>
  70. <asp:BoundColumn DataField="BranchName" HeaderText="机构名称"></asp:BoundColumn>
  71. <asp:BoundColumn DataField="SimpleCode" HeaderText="机构简称"></asp:BoundColumn>
  72. <asp:TemplateColumn HeaderText="更新机构信息">
  73. <ItemTemplate>
  74. <asp:LinkButton runat="server" Text="编辑" CommandName="Edit" CausesValidation="false"></asp:LinkButton>
  75. </ItemTemplate>
  76. <EditItemTemplate>
  77. <asp:LinkButton runat="server" Text="更新" CommandName="Update" CausesValidation="false"></asp:LinkButton>&nbsp;
  78. <asp:LinkButton runat="server" Text="取消" CommandName="Cancel" CausesValidation="false"></asp:LinkButton>
  79. </EditItemTemplate>
  80. </asp:TemplateColumn>
  81. <asp:TemplateColumn HeaderText="删除" ItemStyle-Width="10%">
  82. <ItemTemplate>
  83. <asp:ImageButton CausesValidation="False" id="Imagebutton2" runat="server" ImageUrl="../img/delete.gif" CommandName="delete" AlternateText="删除此项机构"></asp:ImageButton>
  84. </ItemTemplate>
  85. </asp:TemplateColumn>
  86. </Columns>
  87. </asp:datagrid>
  88. </td>
  89. </tr>
  90. </TABLE>
  91. </TD>
  92. </TR>
  93. </TABLE>
  94. &nbsp;
  95. </TD>
  96. </TR>
  97. </TABLE>
  98. <TABLE id="Table8" style="WIDTH: 467px; HEIGHT: 39px" cellSpacing="1" cellPadding="1" width="467" border="0">
  99. <TR>
  100. <TD height="5"></TD>
  101. </TR>
  102. <TR>
  103. <TD></TD>
  104. </TR>
  105. </TABLE>
  106. <asp:label id="lblErr" runat="server" CssClass="err" Font-Size="X-Small"></asp:label>
  107. <asp:validationsummary id="ValidationSummary1" runat="server" CssClass="err" HeaderText="试图添加[机构名称]时产生如下错误:" ShowMessageBox="True" ShowSummary="False" Font-Size="X-Small"></asp:validationsummary>
  108. <asp:label id="lblBranchID" runat="server" Visible="False" Font-Size="X-Small"></asp:label></TD>
  109. </TR>
  110. </TABLE>
  111. </TD>
  112. </TR>
  113. </TABLE>
  114. </TD>
  115. </TR>
  116. </TABLE>
  117. </FONT>
  118. </form>
  119. </body>
  120. </HTML>