SystemManage/RoleEdit.aspx

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RoleEdit.aspx.cs" Inherits="SystemManage_RoleEdit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>修改角色</title>
    <script src="../js/sk_ts.js" type="text/javascript"></script>
 <script type="text/javascript">
     var api = frameElement.api, W = api.opener;
     function close() {
         api.close();
     } 
</script>    
<link rel="stylesheet" href="../css/common.css" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div>
  <table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
    <tr>
      <td width="18%" class="left_title_1">角色名称</td>
      <td width="82%">
          <asp:TextBox ID="tb_rolename" runat="server" Width="185px" MaxLength="20" onFocus="hilite(this);" onBlur="delite(this);" ></asp:TextBox><span style="COLOR: red">* 
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tb_rolename"
                ErrorMessage="角色名称不能为空!"></asp:RequiredFieldValidator></span>
                </td>
    </tr>
    <tr>
      <td class="left_title_2">角色描述</td>
      <td>
          <asp:TextBox ID="tb_rolediscription" runat="server" Width="185px" 
              MaxLength="20" onFocus="hilite(this);" onBlur="delite(this);" ></asp:TextBox><span style="COLOR: red">* 
                          <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tb_rolediscription"
                ErrorMessage="角色描述不能为空!"></asp:RequiredFieldValidator></span>
                </td>
    </tr>
       <tr>
      <td class="left_title_1">排序数字</td>
      <td>
          <asp:TextBox ID="txtNum" runat="server" Width="43px" MaxLength="3">0</asp:TextBox><span style="COLOR: red">* 
              <asp:RangeValidator ID="RangeValidator1" runat="server" 
              ErrorMessage="只能输入0-100之间的数字!" ControlToValidate="txtNum" 
              MaximumValue="100" MinimumValue="0" Type="Integer"></asp:RangeValidator><asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtNum"
                ErrorMessage="不能为空!"></asp:RequiredFieldValidator></span>
                </td>
    </tr>
    <tr>
      <td width="18%" class="left_title_2">权限模块</td>
      <td style="width: 41%">
            <asp:CheckBoxList ID="cbl_quanxian" runat="server" 
                DataTextField="ModuleName" DataValueField="ModuleID" RepeatColumns="4" 
                RepeatDirection="Horizontal">
            </asp:CheckBoxList>
            </td>
    </tr>
    <tr>
      <td class="left_title_1">&nbsp;</td>
      <td><asp:ImageButton ID="butAdd" runat="server" Height="33px" 
                 ImageUrl="~/images/btn/baocun.jpg"  
        Width="88px" onclick="butAdd_Click"/></td>
    </tr>
后面还有 5 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。