AddNewOrg.aspx
上传用户:tiancihang
上传日期:2014-03-12
资源大小:21387k
文件大小:4k
源码类别:

.net编程

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddNewOrg.aspx.cs" Inherits="AddNewOrg" %>
  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. <base target="_self" />
  7. <link href="style/dialog.css" type="text/css" rel="stylesheet"/>
  8. </head>
  9. <body>
  10.     <form id="form1" runat="server" style="font-size:12px;" class="Content">
  11.     <div style="font-size:12px; font-family:Arial;">
  12.         <table id="tb1" border="0" cellpadding="0" width="100%" class="Content">
  13.             <tr>
  14.                 <td style="height: 38px">
  15.                     <div style="font-weight: bolder; font-size: 14px; vertical-align: top; color: black;
  16.                         top: 1px">
  17.                         &nbsp; &nbsp;
  18.                         <img alt="" src="image/AddOrg.gif" style="width: 30px; height: 30px" />&nbsp; &nbsp;
  19.                         <asp:Label ID="LabOrg" runat="server"></asp:Label></div>
  20.                 </td>
  21.             </tr>
  22.             <tr>
  23.                 <td style="height: 20px">
  24.                 </td>
  25.             </tr>
  26.             <tr>
  27.                 <td>
  28.                     <asp:Label ID="Label1" runat="server" Font-Bold="False" Text="机构名称:"></asp:Label>&nbsp;
  29.                     <asp:TextBox ID="TxtName" runat="server" MaxLength="20" Width="269px"></asp:TextBox>
  30.                     <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxtName"
  31.                         ErrorMessage="(*)" Font-Bold="True" Font-Size="12px" ValidationGroup="savedata" Display="Dynamic"></asp:RequiredFieldValidator>
  32.                 </td>
  33.             </tr>
  34.             <tr style="font-size: 12px">
  35.                 <td>
  36.                     <asp:Label ID="Label2" runat="server" Text="机构描述:"></asp:Label>
  37.                     <asp:TextBox ID="TxtEmail" runat="server" MaxLength="100" Width="269px" TextMode="MultiLine"></asp:TextBox></td>
  38.             </tr>
  39.             <tr style="font-size: 12px">
  40.                 <td>
  41.                     <asp:Label ID="Label3" runat="server" Text="机构性质:"></asp:Label>
  42.                     <asp:DropDownList ID="DListType" runat="server" Width="170px">
  43.                         <asp:ListItem Value="a">公司领导</asp:ListItem>
  44.                         <asp:ListItem Value="b">基层部门</asp:ListItem>
  45.                         <asp:ListItem Value="c">职能部门</asp:ListItem>
  46.                         <asp:ListItem Value="d">物资公司</asp:ListItem>
  47.                         <asp:ListItem Value="e">系统管理员</asp:ListItem>
  48.                         <asp:ListItem Value="1">其它</asp:ListItem>
  49.                     </asp:DropDownList>
  50.                 </td>
  51.             </tr>
  52.         </table>
  53.         <table style="font-size: 12px; width:100%" class="Content">
  54.             <tr>
  55.                 <td>
  56.                     <asp:Label ID="Label4" runat="server" Text="上级机构:" ></asp:Label>
  57.                     <asp:TextBox ID="TxtOrgName" runat="server" BorderStyle="None" BorderWidth="0px"
  58.                         Height="15px" ReadOnly="True" Width="326px" CssClass="Content"></asp:TextBox></td>
  59.             </tr>
  60.         </table>
  61.         <table width="100%" class="Content">
  62.             <tr >
  63.                 <td>
  64.                     <img alt="" src="image/header_bg.gif" width="100%" height="2px" /> 
  65.                 </td>
  66.             </tr>
  67.         </table>
  68.     
  69.     </div>
  70.         <table class="Content" style="height:60px;">
  71.             <tr>
  72.                 <td style="height: 20px">
  73.                 </td>
  74.             </tr>
  75.             <tr style="height:20px;">
  76.                 <td style="width: 60%">
  77.                 </td>
  78.                 <td>
  79.                     <asp:ImageButton ID="ImButOk" runat="server" ImageUrl="image/queding.gif" ValidationGroup="savedata" OnClick="ImButOk_Click"/>&nbsp;<asp:ImageButton
  80.                         ID="ImgButCancel" runat="server" ImageUrl="image/quxiao.gif" />
  81.                 </td>
  82.     
  83.             </tr>
  84.             <tr style="height:20px;">
  85.             </tr>
  86.         </table>
  87.     </form>
  88. </body>
  89. </html>