📄 adminrolemanage.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminRoleManage.aspx.cs" Inherits="RoleManage" %>
<!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>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<div style="text-align: center">
<span style="font-size: 24pt"><strong>
角色管理 </strong></span>
<br />
<br />
<table style="font-size: 12pt; width: 459px; border-top-style: solid; border-right-style: solid; border-left-style: solid; border-bottom-style: solid;">
<tr>
<td colspan="3" style="width: 688px; height: 50px; border-bottom-style: solid;">
请选择查询条件:<asp:DropDownList ID="ddlSearch" runat="server" Width="96px">
<asp:ListItem Value="RoleID">角色编号</asp:ListItem>
<asp:ListItem Value="RoleName">角色名称</asp:ListItem>
</asp:DropDownList>
<asp:TextBox ID="tbSearch" runat="server"></asp:TextBox>
<asp:ImageButton ID="imbtnSearch" runat="server" ImageUrl="~/images/btn_search_11.png" OnClick="imbtnSearch_Click" /><span
style="font-size: 10pt">(注:如果为空则显示所有角色)</span></td>
</tr>
<tr>
<td colspan="3" style="width: 688px; height: 24px; text-align: center; border-bottom-style: solid;">
添加角色信息
<asp:ImageButton ID="imbtnAdd" runat="server" ImageUrl="~/images/btn_new_a1.gif" OnClick="imbtnAdd_Click" /></td>
</tr>
<tr>
<td colspan="3" style="width: 688px; height: 156px; text-align: left; border-bottom-style: solid;">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" Width="399px" CellPadding="4" ForeColor="#333333" GridLines="None" OnPageIndexChanging="GridView1_PageIndexChanging">
<Columns>
<asp:BoundField DataField="ID" HeaderText="ID" ReadOnly="True" SortExpression="ID" />
<asp:BoundField DataField="RoleID" HeaderText="角色编号" ReadOnly="True" SortExpression="RoleID" />
<asp:BoundField DataField="RoleName" HeaderText="角色名称" ReadOnly="True" SortExpression="RoleName" />
<asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="AdminModifyRole.aspx?id={0}"
Text="查看/修改" />
<asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="DeleteRole.aspx?ID={0}"
Text="删除" />
</Columns>
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#999999" />
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
</asp:GridView>
<asp:Label ID="lbl_noResult" runat="server" ForeColor="Red" Visible="False">没有满足要求的记录</asp:Label></td>
</tr>
<tr>
<td colspan="3" style="width: 688px; height: 30px; text-align: left;">
共有<asp:Label ID="lblCount" runat="server" ForeColor="Red"></asp:Label>条数据</td>
</tr>
</table>
</div>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -