📄 adminmanage.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminManage.aspx.cs" Inherits="AdminManage_AdminManage" %>
<!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>
<table style="width: 529px; height: 334px; font-size: 9pt; background-image: url(../Image/例图/后台/后台页.jpg);" cellpadding="0" cellspacing="0" align="center">
<tr>
<td colspan="3" style="text-align: right">
<asp:Label ID="Label2" runat="server" Text="查询条件:"></asp:Label>
<asp:DropDownList ID="ddlCondition" runat="server">
<asp:ListItem Value="AdminID">ID号</asp:ListItem>
<asp:ListItem Value="AdminName">管理员名称</asp:ListItem>
</asp:DropDownList>
<asp:Label ID="Label1" runat="server" Text="关键字:"></asp:Label>
<asp:TextBox ID="txtKey" runat="server"></asp:TextBox>
<asp:Button ID="btnSel" runat="server" Text="查询" Height="20px" Width="58px" OnClick="btnSel_Click" />
</td>
</tr>
<tr>
<td colspan="3" style="height: 181px; text-align: center; vertical-align: top;">
<br /><asp:GridView ID="gvAdminInfo" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None" AutoGenerateColumns="False" OnRowDataBound="gvAdminInfo_RowDataBound" OnRowDeleting="gvAdminInfo_RowDeleting" AllowPaging="True" PageSize="7" OnPageIndexChanging="gvAdminInfo_PageIndexChanging" Font-Size="9pt">
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<EditRowStyle BackColor="#999999" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#CBCF7A" ForeColor="Black" HorizontalAlign="Right" />
<HeaderStyle BackColor="#CBCF7A" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
<Columns>
<asp:BoundField DataField="AdminID" HeaderText="ID号" />
<asp:BoundField DataField="AdminName" HeaderText="姓名" />
<asp:BoundField DataField="AdminPwd" HeaderText="密码" />
<asp:HyperLinkField HeaderText="详细信息" Text="详细信息" DataNavigateUrlFields="AdminID" DataNavigateUrlFormatString="EditAdmin.aspx?AdminID={0}">
<ControlStyle Font-Underline="False" ForeColor="Black" />
</asp:HyperLinkField>
<asp:CommandField HeaderText="删除" ShowDeleteButton="True">
<ControlStyle Font-Underline="False" ForeColor="Black"/>
</asp:CommandField>
</Columns>
</asp:GridView>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -