BranchSet.aspx
资源名称:ioffice-e.rar [点击查看]
上传用户:kaisitong
上传日期:2022-01-01
资源大小:3672k
文件大小:8k
源码类别:
OA系统
开发平台:
ASP/ASPX
- <%@ Page Language="vb" AutoEventWireup="false" Codebehind="BranchSet.aspx.vb" Inherits="ioffice.branchset"%>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML>
- <HEAD>
- <title></title>
- <meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
- <meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
- <meta content="JavaScript" name="vs_defaultClientScript">
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <LINK href="../../Styles.css" type="text/css" rel="stylesheet">
- </HEAD>
- <body MS_POSITIONING="GridLayout">
- <form id="Form1" method="post" runat="server">
- <FONT face="宋体">
- <TABLE height="100%" cellSpacing="1" cellPadding="1" width="100%" border="0">
- <TR>
- <TD style="HEIGHT: 10px">
- </TD>
- </TR>
- <TR>
- <TD vAlign="top" align="middle">
- <TABLE style="WIDTH: 481px; HEIGHT: 415px" cellSpacing="0" cellPadding="0" width="481" border="0">
- <TR>
- <TD vAlign="top">
- <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
- <TR>
- <TD colSpan="1">
- <asp:ImageButton id="ImageButton1" runat="server" ImageUrl="../../img/button/branch.gif" ImageAlign="AbsBottom"></asp:ImageButton>
- </TD>
- </TR>
- </TABLE>
- <TABLE style="WIDTH: 100%; HEIGHT: 274px" cellSpacing="1" cellPadding="0" border="0">
- <TR>
- <TD class="box" style="PADDING-RIGHT: 20px; PADDING-LEFT: 20px; PADDING-BOTTOM: 0px; PADDING-TOP: 20px" vAlign="top" width="100%">
- <TABLE style="WIDTH: 100%; HEIGHT: 55px" cellSpacing="0" cellPadding="0" border="0">
- <TR>
- <TD class="tttable" style="WIDTH: 73px">
- 总公司名称
- </TD>
- <TD>
- <asp:textbox id="txtHqName" runat="server" Width="340px" CssClass="edline"></asp:textbox>
- </TD>
- </TR>
- <TR>
- <TD class="tttable" style="WIDTH: 73px" noWrap rowSpan="1">
- 总公司简称
- </TD>
- <TD>
- <asp:textbox id="txtHqSimCode" runat="server" CssClass="edline"></asp:textbox>
- </TD>
- </TR>
- </TABLE>
- <hr>
- <TABLE style="WIDTH: 100%; HEIGHT: 20px" cellSpacing="1" cellPadding="1" border="0">
- <TR>
- <TD class="tttable" style="WIDTH: 69px">
- 机构名称
- </TD>
- <TD style="WIDTH: 134px" noWrap>
- <asp:textbox id="txtName" runat="server" Width="136px" CssClass="edline"></asp:textbox>
- </TD>
- <TD class="tttable" style="WIDTH: 4px">
- <asp:requiredfieldvalidator id="valName" runat="server" ErrorMessage="[机构名称]必须输入!" ControlToValidate="txtName" CssClass="td">*</asp:requiredfieldvalidator>
- </TD>
- <TD class="tttable" style="WIDTH: 55px">
- 机构简称
- </TD>
- <TD style="WIDTH: 53px" noWrap>
- <asp:textbox id="txtSimCode" runat="server" Width="72px" CssClass="edline"></asp:textbox>
- </TD>
- <TD noWrap>
- <asp:requiredfieldvalidator id="valSimCode" runat="server" ErrorMessage="[机构简称]必须输入!" ControlToValidate="txtSimCode" CssClass="td">*</asp:requiredfieldvalidator>
- </TD>
- <TD noWrap>
- <asp:linkbutton id="cmdAdd" runat="server" CssClass="td"><img src="../../img/add.gif" border="0" align="absmiddle">添加...</asp:linkbutton>
- </TD>
- </TR>
- </TABLE>
- <TABLE style="WIDTH: 100%; HEIGHT: 131px" cellSpacing="1" cellPadding="1" border="0">
- <TR>
- <TD vAlign="top">
- <asp:datagrid id="dgdBranch" runat="server" Width="100%" CssClass="td" AutoGenerateColumns="False" BorderColor="#999999" DataKeyField="branchid">
- <HeaderStyle Font-Bold="True" BackColor="#D8C8A8"></HeaderStyle>
- <Columns>
- <asp:TemplateColumn HeaderText="机构名称">
- <ItemTemplate>
- <asp:Label id="Label1" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.name") %>'></asp:Label>
- </ItemTemplate>
- <FooterTemplate>
- <FONT face="宋体"></FONT>
- </FooterTemplate>
- <EditItemTemplate>
- <asp:TextBox id="txtNameEdit" runat="server" CssClass="ednone" Width="260px" Text='<%# DataBinder.Eval(Container, "DataItem.name") %>'></asp:TextBox>
- </EditItemTemplate>
- </asp:TemplateColumn>
- <asp:TemplateColumn HeaderText="机构简称">
- <ItemTemplate>
- <asp:Label id="Label11" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.simplecode") %>'></asp:Label>
- </ItemTemplate>
- <EditItemTemplate>
- <asp:TextBox id="txtSimCodeEdit" runat="server" CssClass="ednone" Width="80px" Text='<%# DataBinder.Eval(Container, "DataItem.simplecode") %>'></asp:TextBox>
- </EditItemTemplate>
- </asp:TemplateColumn>
- <asp:TemplateColumn>
- <HeaderTemplate>
- <FONT face="宋体"></FONT>
- </HeaderTemplate>
- <ItemTemplate>
- <asp:LinkButton id="LinkButton1" runat="server" CausesValidation="false" Text="<img border=0 src=../../img/edit.gif alt=更改当前机构信息>" CommandName="Edit"></asp:LinkButton>
- </ItemTemplate>
- <EditItemTemplate>
- <asp:LinkButton id="LinkButton3" runat="server" CausesValidation="False" Text="<img border=0 src=../../img/button/save.gif alt=保存当前机构信息>" CommandName="Update"></asp:LinkButton>
- <asp:LinkButton id="LinkButton2" runat="server" CausesValidation="false" Text="<img border=0 src=../../img/button/upcancel.gif alt=撤消>" CommandName="Cancel"></asp:LinkButton>
- </EditItemTemplate>
- </asp:TemplateColumn>
- <asp:ButtonColumn Text="<img border=0 src=../../img/delete.gif alt=删除当前机构>" CommandName="Delete"></asp:ButtonColumn>
- </Columns>
- </asp:datagrid>
- </TD>
- </TR>
- </TABLE>
-
- </TD>
- </TR>
- </TABLE>
- <TABLE cellSpacing="1" cellPadding="1" width="100%" border="0">
- <TR>
- <TD height="5">
- </TD>
- </TR>
- <TR>
- <TD>
- <asp:imagebutton id="cmdSaveExi" runat="server" ImageUrl="../../img/button/saveexi.gif" CausesValidation="False"></asp:imagebutton>
- <asp:imagebutton id="cmdExit" runat="server" ImageUrl="../../img/button/exit.gif" CausesValidation="False"></asp:imagebutton>
- </TD>
- </TR>
- </TABLE>
- <asp:label id="lblErr" runat="server" CssClass="err"></asp:label>
- <asp:validationsummary id="ValidationSummary1" runat="server" CssClass="err" ShowSummary="False" ShowMessageBox="True" HeaderText="试图添加[机构名称]时产生如下错误:"></asp:validationsummary>
- <asp:label id="lblBranchID" runat="server" Visible="False"></asp:label>
- </TD>
- </TR>
- </TABLE>
- </TD>
- </TR>
- </TABLE>
- </FONT>
- </form>
- </body>
- </HTML>