- <%@ Page Language="c#" AutoEventWireup="false" Codebehind="BranchInf.aspx.cs" Inherits="qminoa.Webs.MR.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="../lynn.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 id="Table1" style="WIDTH: 221px; HEIGHT: 6px" cellSpacing="0" cellPadding="1" width="221" bgColor="black" border="0">
- <TR>
- <TD>
- <TABLE id="Table2" style="WIDTH: 499px; HEIGHT: 382px" borderColor="#888888" cellSpacing="0" borderColorDark="#ffffff" cellPadding="0" bgColor="white">
- <TR>
- <TD vAlign="top">
- <TABLE id="Table3" cellSpacing="0" cellPadding="0" width="100%" border="0">
- <TR>
- <TD colSpan="1">
- <asp:ImageButton id="ImageButton1" runat="server" ImageAlign="AbsBottom" ImageUrl="../img/button/branch.gif"></asp:ImageButton></TD>
- </TR>
- </TABLE>
- <TABLE id="Table4" style="HEIGHT: 274px" cellSpacing="1" cellPadding="0" width="100%" border="0">
- <TR>
- <TD class="box" style="PADDING-RIGHT: 20px; PADDING-LEFT: 20px; PADDING-BOTTOM: 0px; PADDING-TOP: 20px" vAlign="top" width="100%">
- <HR style="WIDTH: 100%; HEIGHT: 2px" SIZE="2">
- <TABLE id="Table6" 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" CssClass="edline" Width="136px"></asp:textbox></TD>
- <TD class="tttable" style="WIDTH: 4px">
- <asp:requiredfieldvalidator id="valName" runat="server" CssClass="td" ControlToValidate="txtName" ErrorMessage="[机构名称]必须输入!" Font-Size="X-Small">*</asp:requiredfieldvalidator></TD>
- <TD class="tttable" style="WIDTH: 55px">机构简称
- </TD>
- <TD style="WIDTH: 53px" noWrap>
- <asp:textbox id="txtSimCode" runat="server" CssClass="edline" Width="72px"></asp:textbox></TD>
- <TD noWrap>
- <asp:requiredfieldvalidator id="valSimCode" runat="server" CssClass="td" ControlToValidate="txtSimCode" ErrorMessage="[机构简称]必须输入!" Font-Size="X-Small">*</asp:requiredfieldvalidator></TD>
- <TD noWrap>
- <asp:linkbutton id="cmdAdd" runat="server" CssClass="td" Font-Size="X-Small"><img src="../img/add.gif" border="0" align="absmiddle">添加...</asp:linkbutton></TD>
- </TR>
- </TABLE>
- <TABLE id="Table7" style="WIDTH: 0.01%; HEIGHT: 107px" cellSpacing="0" cellPadding="0" border="0">
- <TR>
- <TD vAlign="top">
- <TABLE width="100%" cellSpacing="0" cellPadding="0" bordercolordark="#ffffff" bordercolor="#888888" border="1">
- <tr>
- <td>
- <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">
- <SelectedItemStyle BackColor="Transparent"></SelectedItemStyle>
- <EditItemStyle ForeColor="Black" BackColor="Black"></EditItemStyle>
- <AlternatingItemStyle BorderColor="White" BackColor="White"></AlternatingItemStyle>
- <ItemStyle CssClass="textcenter" BackColor="#DEDFDE"></ItemStyle>
- <HeaderStyle CssClass="headcenter"></HeaderStyle>
- <FooterStyle CssClass="headcenter"></FooterStyle>
- <Columns>
- <asp:BoundColumn DataField="BranchName" HeaderText="机构名称"></asp:BoundColumn>
- <asp:BoundColumn DataField="SimpleCode" HeaderText="机构简称"></asp:BoundColumn>
- <asp:TemplateColumn HeaderText="更新机构信息">
- <ItemTemplate>
- <asp:LinkButton runat="server" Text="编辑" CommandName="Edit" CausesValidation="false"></asp:LinkButton>
- </ItemTemplate>
- <EditItemTemplate>
- <asp:LinkButton runat="server" Text="更新" CommandName="Update" CausesValidation="false"></asp:LinkButton>
- <asp:LinkButton runat="server" Text="取消" CommandName="Cancel" CausesValidation="false"></asp:LinkButton>
- </EditItemTemplate>
- </asp:TemplateColumn>
- <asp:TemplateColumn HeaderText="删除" ItemStyle-Width="10%">
- <ItemTemplate>
- <asp:ImageButton CausesValidation="False" id="Imagebutton2" runat="server" ImageUrl="../img/delete.gif" CommandName="delete" AlternateText="删除此项机构"></asp:ImageButton>
- </ItemTemplate>
- </asp:TemplateColumn>
- </Columns>
- </asp:datagrid>
- </td>
- </tr>
- </TABLE>
- </TD>
- </TR>
- </TABLE>
-
- </TD>
- </TR>
- </TABLE>
- <TABLE id="Table8" style="WIDTH: 467px; HEIGHT: 39px" cellSpacing="1" cellPadding="1" width="467" border="0">
- <TR>
- <TD height="5"></TD>
- </TR>
- <TR>
- <TD></TD>
- </TR>
- </TABLE>
- <asp:label id="lblErr" runat="server" CssClass="err" Font-Size="X-Small"></asp:label>
- <asp:validationsummary id="ValidationSummary1" runat="server" CssClass="err" HeaderText="试图添加[机构名称]时产生如下错误:" ShowMessageBox="True" ShowSummary="False" Font-Size="X-Small"></asp:validationsummary>
- <asp:label id="lblBranchID" runat="server" Visible="False" Font-Size="X-Small"></asp:label></TD>
- </TR>
- </TABLE>
- </TD>
- </TR>
- </TABLE>
- </TD>
- </TR>
- </TABLE>
- </FONT>
- </form>
- </body>
- </HTML>