BranchSet.aspx
上传用户:kaisitong
上传日期:2022-01-01
资源大小:3672k
文件大小:8k
源码类别:

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="vb" AutoEventWireup="false" Codebehind="BranchSet.aspx.vb" Inherits="ioffice.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="../../Styles.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 style="WIDTH: 481px; HEIGHT: 415px" cellSpacing="0" cellPadding="0" width="481" border="0">
  23. <TR>
  24. <TD vAlign="top">
  25. <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
  26. <TR>
  27. <TD colSpan="1">
  28. <asp:ImageButton id="ImageButton1" runat="server" ImageUrl="../../img/button/branch.gif" ImageAlign="AbsBottom"></asp:ImageButton>
  29. </TD>
  30. </TR>
  31. </TABLE>
  32. <TABLE style="WIDTH: 100%; HEIGHT: 274px" cellSpacing="1" cellPadding="0" border="0">
  33. <TR>
  34. <TD class="box" style="PADDING-RIGHT: 20px; PADDING-LEFT: 20px; PADDING-BOTTOM: 0px; PADDING-TOP: 20px" vAlign="top" width="100%">
  35. <TABLE style="WIDTH: 100%; HEIGHT: 55px" cellSpacing="0" cellPadding="0" border="0">
  36. <TR>
  37. <TD class="tttable" style="WIDTH: 73px">
  38. 总公司名称
  39. </TD>
  40. <TD>
  41. <asp:textbox id="txtHqName" runat="server" Width="340px" CssClass="edline"></asp:textbox>
  42. </TD>
  43. </TR>
  44. <TR>
  45. <TD class="tttable" style="WIDTH: 73px" noWrap rowSpan="1">
  46. 总公司简称
  47. </TD>
  48. <TD>
  49. <asp:textbox id="txtHqSimCode" runat="server" CssClass="edline"></asp:textbox>
  50. </TD>
  51. </TR>
  52. </TABLE>
  53. <hr>
  54. <TABLE style="WIDTH: 100%; HEIGHT: 20px" cellSpacing="1" cellPadding="1" border="0">
  55. <TR>
  56. <TD class="tttable" style="WIDTH: 69px">
  57. 机构名称
  58. </TD>
  59. <TD style="WIDTH: 134px" noWrap>
  60. <asp:textbox id="txtName" runat="server" Width="136px" CssClass="edline"></asp:textbox>
  61. </TD>
  62. <TD class="tttable" style="WIDTH: 4px">
  63. <asp:requiredfieldvalidator id="valName" runat="server" ErrorMessage="[机构名称]必须输入!" ControlToValidate="txtName" CssClass="td">*</asp:requiredfieldvalidator>
  64. </TD>
  65. <TD class="tttable" style="WIDTH: 55px">
  66. 机构简称
  67. </TD>
  68. <TD style="WIDTH: 53px" noWrap>
  69. <asp:textbox id="txtSimCode" runat="server" Width="72px" CssClass="edline"></asp:textbox>
  70. </TD>
  71. <TD noWrap>
  72. <asp:requiredfieldvalidator id="valSimCode" runat="server" ErrorMessage="[机构简称]必须输入!" ControlToValidate="txtSimCode" CssClass="td">*</asp:requiredfieldvalidator>
  73. </TD>
  74. <TD noWrap>
  75. <asp:linkbutton id="cmdAdd" runat="server" CssClass="td"><img src="../../img/add.gif" border="0" align="absmiddle">添加...</asp:linkbutton>
  76. </TD>
  77. </TR>
  78. </TABLE>
  79. <TABLE style="WIDTH: 100%; HEIGHT: 131px" cellSpacing="1" cellPadding="1" border="0">
  80. <TR>
  81. <TD vAlign="top">
  82. <asp:datagrid id="dgdBranch" runat="server" Width="100%" CssClass="td" AutoGenerateColumns="False" BorderColor="#999999" DataKeyField="branchid">
  83. <HeaderStyle Font-Bold="True" BackColor="#D8C8A8"></HeaderStyle>
  84. <Columns>
  85. <asp:TemplateColumn HeaderText="机构名称">
  86. <ItemTemplate>
  87. <asp:Label id="Label1" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.name") %>'></asp:Label>
  88. </ItemTemplate>
  89. <FooterTemplate>
  90. <FONT face="宋体"></FONT>
  91. </FooterTemplate>
  92. <EditItemTemplate>
  93. <asp:TextBox id="txtNameEdit" runat="server" CssClass="ednone" Width="260px" Text='<%# DataBinder.Eval(Container, "DataItem.name") %>'></asp:TextBox>
  94. </EditItemTemplate>
  95. </asp:TemplateColumn>
  96. <asp:TemplateColumn HeaderText="机构简称">
  97. <ItemTemplate>
  98. <asp:Label id="Label11" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.simplecode") %>'></asp:Label>
  99. </ItemTemplate>
  100. <EditItemTemplate>
  101. <asp:TextBox id="txtSimCodeEdit" runat="server" CssClass="ednone" Width="80px" Text='<%# DataBinder.Eval(Container, "DataItem.simplecode") %>'></asp:TextBox>
  102. </EditItemTemplate>
  103. </asp:TemplateColumn>
  104. <asp:TemplateColumn>
  105. <HeaderTemplate>
  106. <FONT face="宋体"></FONT>
  107. </HeaderTemplate>
  108. <ItemTemplate>
  109. <asp:LinkButton id="LinkButton1" runat="server" CausesValidation="false" Text="<img border=0 src=../../img/edit.gif alt=更改当前机构信息>" CommandName="Edit"></asp:LinkButton>
  110. </ItemTemplate>
  111. <EditItemTemplate>
  112. <asp:LinkButton id="LinkButton3" runat="server" CausesValidation="False" Text="<img border=0 src=../../img/button/save.gif alt=保存当前机构信息>" CommandName="Update"></asp:LinkButton>
  113. <asp:LinkButton id="LinkButton2" runat="server" CausesValidation="false" Text="<img border=0 src=../../img/button/upcancel.gif alt=撤消>" CommandName="Cancel"></asp:LinkButton>
  114. </EditItemTemplate>
  115. </asp:TemplateColumn>
  116. <asp:ButtonColumn Text="&lt;img border=0 src=../../img/delete.gif alt=删除当前机构&gt;" CommandName="Delete"></asp:ButtonColumn>
  117. </Columns>
  118. </asp:datagrid>
  119. </TD>
  120. </TR>
  121. </TABLE>
  122. &nbsp;
  123. </TD>
  124. </TR>
  125. </TABLE>
  126. <TABLE cellSpacing="1" cellPadding="1" width="100%" border="0">
  127. <TR>
  128. <TD height="5">
  129. </TD>
  130. </TR>
  131. <TR>
  132. <TD>
  133. <asp:imagebutton id="cmdSaveExi" runat="server" ImageUrl="../../img/button/saveexi.gif" CausesValidation="False"></asp:imagebutton>
  134. <asp:imagebutton id="cmdExit" runat="server" ImageUrl="../../img/button/exit.gif" CausesValidation="False"></asp:imagebutton>
  135. </TD>
  136. </TR>
  137. </TABLE>
  138. <asp:label id="lblErr" runat="server" CssClass="err"></asp:label>
  139. <asp:validationsummary id="ValidationSummary1" runat="server" CssClass="err" ShowSummary="False" ShowMessageBox="True" HeaderText="试图添加[机构名称]时产生如下错误:"></asp:validationsummary>
  140. <asp:label id="lblBranchID" runat="server" Visible="False"></asp:label>
  141. </TD>
  142. </TR>
  143. </TABLE>
  144. </TD>
  145. </TR>
  146. </TABLE>
  147. </FONT>
  148. </form>
  149. </body>
  150. </HTML>