📄 administrators.aspx
字号:
<%@ Page language="c#" Codebehind="Administrators.aspx.cs" AutoEventWireup="false" Inherits="MobileShop.Administrators" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Admin</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="宋体" id="FONT1" runat="server">
<asp:DataGrid id="DataGrid1" style="Z-INDEX: 104; LEFT: 184px; POSITION: absolute; TOP: 168px"
runat="server" Height="138px" Width="696px" AutoGenerateColumns="False" BorderColor="#999999"
BorderStyle="None" BorderWidth="1px" BackColor="White" CellPadding="3" GridLines="Vertical"
AllowPaging="True" DataKeyField="ID">
<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#008A8C"></SelectedItemStyle>
<AlternatingItemStyle BackColor="Gainsboro"></AlternatingItemStyle>
<ItemStyle Height="30px" ForeColor="Black" BackColor="#EEEEEE"></ItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#000084"></HeaderStyle>
<FooterStyle ForeColor="Black" BackColor="#CCCCCC"></FooterStyle>
<Columns>
<asp:BoundColumn HeaderText="SN"></asp:BoundColumn>
<asp:BoundColumn Visible="False" DataField="ID"></asp:BoundColumn>
<asp:BoundColumn DataField="ProductID" HeaderText="产品名称"></asp:BoundColumn>
<asp:BoundColumn DataField="UnitCost" HeaderText="单价"></asp:BoundColumn>
<asp:ButtonColumn Text="删除" ButtonType="PushButton" CommandName="Delete"></asp:ButtonColumn>
</Columns>
<PagerStyle HorizontalAlign="Center" ForeColor="Black" BackColor="#999999" Mode="NumericPages"></PagerStyle>
</asp:DataGrid>
<asp:Label id="Label5" style="Z-INDEX: 102; LEFT: 24px; POSITION: absolute; TOP: 80px" runat="server"
Width="120px" Height="24px" Font-Size="Large">编辑商品</asp:Label>
<asp:DropDownList id="DropDownList1" style="Z-INDEX: 101; LEFT: 24px; POSITION: absolute; TOP: 136px"
runat="server" Width="136px">
<asp:ListItem Value="NOKIA" Selected="True">NOKIA</asp:ListItem>
<asp:ListItem Value="LENOVO">LENOVO</asp:ListItem>
<asp:ListItem Value="MOTOROLA">MOTOROLA</asp:ListItem>
<asp:ListItem Value="SUMSUNG">SUMSUNG</asp:ListItem>
<asp:ListItem Value="OTHERS">OTHERS</asp:ListItem>
</asp:DropDownList>
<asp:Button id="Button2" style="Z-INDEX: 103; LEFT: 24px; POSITION: absolute; TOP: 184px" runat="server"
Width="80px" Text="确定" Height="32px"></asp:Button>
<asp:HyperLink id="hplAddProduct" style="Z-INDEX: 105; LEFT: 184px; POSITION: absolute; TOP: 136px"
runat="server" Visible="False">添加新产品</asp:HyperLink>
<asp:HyperLink id="HyperLink1" style="Z-INDEX: 106; LEFT: 24px; POSITION: absolute; TOP: 16px"
runat="server" Height="24px" Width="152px" NavigateUrl="Default.aspx">
<font size="5">管理员退出</font></asp:HyperLink>
<asp:HyperLink id="hplAddAdmin" style="Z-INDEX: 107; LEFT: 240px; POSITION: absolute; TOP: 16px"
runat="server" Height="32px" Width="144px" NavigateUrl="Register.aspx?IsAdmin=true">
<font size="5">添加管理员</font></asp:HyperLink></FONT></form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -