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

.net编程

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddRole.aspx.cs" Inherits="SysManage_AddRole" %>
  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 id="Head1" runat="server">
  5.     <title>增加用户</title>
  6.     <base target="_self"></base>
  7. </head>
  8. <body  bgcolor="#f7f7f7">
  9.     <form id="form1" runat="server" >
  10.     
  11.      <TABLE width="100%" height="100%" border="0" cellPadding="0" cellSpacing="0" >
  12.         <tr valign="middle">
  13.             <td width="17%" style="height: 56px" > 
  14.              <img src="../Images/assignuser.ico" height="30" >
  15.             </td>
  16.             <td  align="left" style="font-size:15px; width: 781px;">
  17.                 <strong>   增加角色</strong></td>
  18.         </tr> 
  19.         <tr>
  20.          <td background="../Images/Menu_bg.jpg"  height="20px">
  21.             &nbsp;</td>
  22.           <td  background="../Images/Menu_bg.jpg"  align="left" style="width: 781px">
  23.               </td>
  24.         </tr>
  25.         </TABLE>
  26.        <TABLE width="100%"  border="0" cellPadding="0" cellSpacing="0" >
  27.           <tr>
  28.             <td style=" width:406px;height: 24px; text-align: right;" >  角色名称:
  29.             </td>
  30.               <td colspan="2" style="height: 24px">
  31.                 <asp:TextBox ID="TB_RoleName" runat="server" Width="300px"></asp:TextBox>                  
  32.                  <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="必填" ControlToValidate="TB_RoleName" ValidationGroup="SaveButton" Display="Dynamic"></asp:RequiredFieldValidator>&nbsp; &nbsp;&nbsp;
  33.               </td>
  34.             <td align="left" style="height: 24px">     &nbsp;</td>
  35.           </tr>
  36.            <tr>
  37.                <td style="width: 406px; height: 24px">
  38.                </td>
  39.                <td colspan="2" style="height: 24px">
  40.                </td>
  41.                <td align="left" style="height: 24px">
  42.                </td>
  43.            </tr>
  44.           <tr>
  45.             <td style="height: 19px; width: 406px; text-align: right;">
  46.                 角色描述:
  47.              </td>
  48.              <td style="height: 19px; width: 809px;">
  49.                  <asp:TextBox ID="TB_RoleDesc" runat="server" TextMode="MultiLine" Width="300px"></asp:TextBox></td>
  50.               <td style="height: 19px">  </td>
  51.              <td style="height: 19px">  </td>
  52.           </tr>   
  53.            <tr>
  54.                <td style="height: 19px; width: 406px;">
  55.                </td>
  56.                <td style="width: 809px; height: 19px">
  57.                </td>
  58.                <td style="height: 19px">
  59.                </td>
  60.                <td style="height: 19px">
  61.                </td>
  62.            </tr>
  63.            <tr height="20px">
  64.              <td style="height:19px; width: 406px; text-align: right;">  
  65.                  创建角色:</td>
  66.              <td style="height:19px; width: 809px">  
  67.                  <asp:DropDownList ID="DDL_CreateRole" runat="server" Width="306px">
  68.                  </asp:DropDownList>
  69.              </td>
  70.               <td>  </td>
  71.              <td>  </td>
  72.           </tr> 
  73.            <tr height="20">
  74.                <td style="width: 406px">
  75.                </td>
  76.                <td style="width: 809px">
  77.                </td>
  78.                <td>
  79.                </td>
  80.                <td>
  81.                </td>
  82.            </tr>
  83.            <tr height="20">
  84.                <td style="height: 20px; width: 406px; text-align: right;">
  85.                    使用角色:</td>
  86.                <td style="height: 20px; width: 809px;">
  87.                    <asp:DropDownList ID="DDL_UserRole" runat="server" Width="306px">
  88.                    </asp:DropDownList></td>
  89.                <td style="height: 20px">
  90.                </td>
  91.                <td style="height: 20px">
  92.                </td>
  93.            </tr>
  94.            <tr height="20">
  95.                <td style="height: 20px; width: 406px;">
  96.                </td>
  97.                <td style="width: 809px; height: 20px">
  98.                </td>
  99.                <td style="height: 20px">
  100.                </td>
  101.                <td style="height: 20px">
  102.                </td>
  103.            </tr>
  104.            <tr height="20">
  105.                <td background="image/header_bg.gif" colspan="2" style="height: 20px">
  106.                </td>
  107.                <td style="height: 20px">
  108.                </td>
  109.                <td style="height: 20px">
  110.                </td>
  111.            </tr>
  112.           <tr>
  113.              <td style="height: 24px; text-align: center;" colspan="2">  <asp:ImageButton ID="IB_Confirm"
  114.                      runat="server" ImageUrl="~/Images/queding.gif" OnClick="IB_Confirm_Click"  ValidationGroup="SaveButton"  />
  115.                  <asp:ImageButton ID="IB_Cancel" runat="server" ImageUrl="~/Images/quxiao.gif"/></td>
  116.               &nbsp;<td style="height: 24px">
  117.                   
  118.               </td>
  119.               <td style="height: 24px">  </td>
  120.           </tr> 
  121.           
  122.         </TABLE>
  123.         
  124.       
  125.     </form>
  126. </body>
  127. </html>