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

.net编程

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true"%>
  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.    <script language="javascript" >
  7.         
  8.    
  9.    </script>
  10. </head>
  11. <body  bgcolor="#f7f7f7">
  12.     <form id="form1" runat="server" >
  13.     
  14.      <TABLE width="100%" height="100%" border="0" cellPadding="0" cellSpacing="0" >
  15.         <tr valign="middle">
  16.             <td height="25px" width="17%" > 
  17.              &nbsp;   &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <img src="../Images/assignuser.ico" height="30" >
  18.             </td>
  19.             <td  align="left"   width="83%" style="font-size:15px">
  20.                 <strong>   增加角色</strong></td>
  21.         </tr> 
  22.         <tr>
  23.          <td background="../Images/Menu_bg.jpg"  height="20px">
  24.             &nbsp; &nbsp;  <img src="../Images/assignuser.ico" height="15px">   指派角色  
  25.            </td>
  26.           <td  background="../Images/Menu_bg.jpg"  align="left">
  27.               &nbsp;<img src="../Images/assignuser.ico" height="15px">
  28.               角色授权</td>
  29.         </tr>
  30.         </TABLE>
  31.        <TABLE width="100%"  border="0" cellPadding="0" cellSpacing="0" >
  32.           <tr>
  33.             <td style=" width:25%;height: 24px" >  &nbsp; &nbsp; &nbsp; 角色名称:
  34.             </td>
  35.               <td colspan="2" style="height: 24px">
  36.                 <asp:TextBox ID="TB_RoleName" runat="server" Width="300px"></asp:TextBox>  
  37.                 
  38.                  <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="必填" ControlToValidate="TB_RoleName" ValidationGroup="SaveButton" Display="Dynamic"></asp:RequiredFieldValidator>    &nbsp; &nbsp;&nbsp;
  39.               </td>
  40.             <td align="left" style="height: 24px">     &nbsp;</td>
  41.           </tr>
  42.            <tr>
  43.                <td style="width: 30%; height: 24px">
  44.                </td>
  45.                <td colspan="2" style="height: 24px">
  46.                </td>
  47.                <td align="left" style="height: 24px">
  48.                </td>
  49.            </tr>
  50.           <tr>
  51.             <td style="height: 19px">
  52.                 &nbsp; &nbsp; &nbsp; 角色描述:
  53.              </td>
  54.              <td style="height: 19px; width: 809px;">
  55.                  <asp:TextBox ID="TB_RoleDesc" runat="server" TextMode="MultiLine" Width="300px"></asp:TextBox></td>
  56.               <td style="height: 19px">  </td>
  57.              <td style="height: 19px">  </td>
  58.           </tr>   
  59.            <tr>
  60.                <td style="height: 19px">
  61.                </td>
  62.                <td style="width: 809px; height: 19px">
  63.                </td>
  64.                <td style="height: 19px">
  65.                </td>
  66.                <td style="height: 19px">
  67.                </td>
  68.            </tr>
  69.            <tr height="20px">
  70.              <td>  &nbsp; &nbsp; &nbsp; 创建角色:</td>
  71.              <td style="width: 809px">  
  72.                  <asp:DropDownList ID="DDL_CreateRole" runat="server" Width="306px">
  73.                  </asp:DropDownList>
  74.              </td>
  75.               <td>  </td>
  76.              <td>  </td>
  77.           </tr> 
  78.            <tr height="20">
  79.                <td>
  80.                </td>
  81.                <td style="width: 809px">
  82.                </td>
  83.                <td>
  84.                </td>
  85.                <td>
  86.                </td>
  87.            </tr>
  88.            <tr height="20">
  89.                <td style="height: 20px">
  90.                    &nbsp; &nbsp; &nbsp;
  91.                    使用角色:</td>
  92.                <td style="height: 20px; width: 809px;">
  93.                    <asp:DropDownList ID="DDL_UserRole" runat="server" Width="306px">
  94.                    </asp:DropDownList></td>
  95.                <td style="height: 20px">
  96.                </td>
  97.                <td style="height: 20px">
  98.                </td>
  99.            </tr>
  100.            <tr height="20">
  101.                <td style="height: 20px">
  102.                </td>
  103.                <td style="width: 809px; height: 20px">
  104.                </td>
  105.                <td style="height: 20px">
  106.                </td>
  107.                <td style="height: 20px">
  108.                </td>
  109.            </tr>
  110.            <tr height="20">
  111.                <td style="height: 20px">
  112.                </td>
  113.                <td style="width: 809px; height: 20px">
  114.                </td>
  115.                <td style="height: 20px">
  116.                </td>
  117.                <td style="height: 20px">
  118.                </td>
  119.            </tr>
  120.           <tr>
  121.              <td style="height: 24px">  </td>
  122.              <td style="height: 24px; text-align: center; width: 809px;">       
  123.                   <asp:Button ID="BT_Confirm" runat="server" Text="确 定" ValidationGroup="SaveButton" Width="95px"/>
  124.                  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
  125.                   <button onclick="javascriptr:window.opener=null;window.close();" id="BT_Cancel" style="width: 85px">取 消</button></td>
  126.               &nbsp;<td style="height: 24px">
  127.                   
  128.               </td>
  129.               <td style="height: 24px">  </td>
  130.           </tr> 
  131.           
  132.         </TABLE>
  133.         
  134.       
  135.     </form>
  136. </body>
  137. </html>