⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 removeusersfromrole.aspx

📁 《圣殿祭司的ASP.NET 2.0开发详解——使用C#》光盘内容.包含了书籍所含的源代码.非常经典的一本asp.net2.0的书籍
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RemoveUsersFromRole.aspx.cs" Inherits="RemoveUsersFromRole" %>

<!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 runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="height: 169px" border="1" bordercolor="#000000" cellpadding="0" cellspacing="0">
            <tr>
                <td style="width: 100px; height: 165px;" align="center" bgcolor="#ffcc99">
                    用户</td>
                <td style="width: 100px; height: 165px;" bgcolor="#ffffcc" valign="top">
                    <asp:CheckBoxList ID="cbxlUsers" runat="server" Font-Size="10pt">
                    </asp:CheckBoxList></td>
                <td style="width: 100px; height: 165px;" align="center" bgcolor="#ffcc99">
                    角色</td>
                <td style="width: 100px; height: 165px;" bgcolor="#ffffcc" valign="top">
                    <asp:RadioButtonList ID="rdoRoles" runat="server" Font-Size="10pt">
                    </asp:RadioButtonList></td>
                <td style="width: 100px; height: 165px;" align="center" bgcolor="#ccffcc">
                    <asp:Button ID="btnRemoveUsersRole" runat="server" Text="将用户自角色中移除(多对一)" OnClick="btnRemoveUsersRole_Click" /></td>
            </tr>
        </table>
    
    </div>
        <br />
        <asp:Label ID="txtUsersRoles" runat="server" Font-Size="10pt" ForeColor="Blue" Text="用户角色群组资料:"></asp:Label><br />
        <asp:GridView ID="gviewUsersRoles" runat="server" BackColor="White" BorderColor="#999999"
            BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical" Font-Size="10pt">
            <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
            <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
            <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
            <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
            <AlternatingRowStyle BackColor="Gainsboro" />
        </asp:GridView>
        <br />
        <asp:Label ID="txtMsg" runat="server" Font-Size="10pt"></asp:Label>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -