?? 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 + -