?? adminlist.aspx
字號:
<%@ Register TagPrefix="Admin" TagName="AdminMenu" Src="AdminMenu.ascx" %>
<%@ Page language="c#" Codebehind="AdminList.aspx.cs" AutoEventWireup="false" Inherits="admin.AdminList" %>
<HTML>
<HEAD>
<link rel="stylesheet" type="text/css" href="styles.css">
</HEAD>
<body background="../images/sitebkgrdnogray.gif" leftmargin="0" topmargin="0" rightmargin="0"
bottommargin="0" marginheight="0" marginwidth="0">
<table cellspacing="0" cellpadding="0" width="100%" border="0" height="100%">
<tr>
<td valign="top" width="145" bgcolor="#9999cc" height="100%">
<Admin:AdminMenu id="Menu1" runat="server" />
<img height="1" src="images/1x1.gif" width="145">
</td>
<td align="center" valign="middle" width="700">
<table align="center" width="100%" border="0" height="100%">
<tr valign="top">
<td align="center">
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="ContentHead">管理員列表
<br>
</td>
</tr>
</table>
<table align="center" width="100%" border="0" height="100%">
<tr valign="top">
<td align="center">
<form id="Form1" method="post" runat="server">
<TABLE id="Table1" align="left" width="100%" border="0">
<TR>
<TD><FONT face="宋體">
<asp:DataGrid id="GridAdmin" runat="server" AutoGenerateColumns="False" DataKeyField="adminID"
orderColor="Black" GridLines="Vertical" cellpadding="4" Font-Name="Verdana" Font-Size="8pt"
ShowFooter="True" HeaderStyle-CssClass="CartListHead" FooterStyle-CssClass="cartlistfooter"
ItemStyle-CssClass="CartListItem" AlternatingItemStyle-CssClass="CartListItemAlt">
<Columns>
<asp:ButtonColumn Text="刪除" HeaderText="刪除管理員" CommandName="Delete">
<HeaderStyle Wrap="False"></HeaderStyle>
</asp:ButtonColumn>
<asp:BoundColumn DataField="adminID" ReadOnly="True" HeaderText="管理員ID">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<FooterStyle Wrap="False"></FooterStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="LoginName" ReadOnly="True" HeaderText="登錄名">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<FooterStyle Wrap="False"></FooterStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="roleName" HeaderText="管理員類型">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<FooterStyle Wrap="False"></FooterStyle>
</asp:BoundColumn>
<asp:HyperLinkColumn Text="查看" DataNavigateUrlField="adminID" DataNavigateUrlFormatString="action.aspx?adminID={0}"
HeaderText="查看日志">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<FooterStyle Wrap="False"></FooterStyle>
</asp:HyperLinkColumn>
</Columns>
</asp:DataGrid></FONT></TD>
</TR>
</TABLE>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -