📄 admin.aspx
字号:
<%@ Page language="c#" Codebehind="admin.aspx.cs" AutoEventWireup="false" Inherits="secondhand.WebForm62" %>
<!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">
<
<!-- <asp:Image id="Image1" style="Z-INDEX: 102; LEFT: 170px; POSITION: absolute; TOP: 286px" runat="server"
Width="500px" Height="300px"></asp:Image>-->
<table id="Table_01" height="1200" cellSpacing="0" cellPadding="0" width="900" border="0">
<tr>
<td colSpan="8" width="900"></td>
</tr>
<tr>
<td rowSpan="4" width="45"><FONT face="宋体"></FONT></td>
<td><IMG height="103" alt="" src="images/default_03.gif" width="342"></td>
<td><asp:imagebutton id="ImageButton1" runat="server" ImageUrl="images/default_04.gif" Height="98px"></asp:imagebutton></td>
<td><asp:imagebutton id="ImageButton2" runat="server" ImageUrl="images/default_05.gif" Height="99px"></asp:imagebutton></td>
<td><asp:imagebutton id="ImageButton3" runat="server" ImageUrl="images/default_06.gif" Height="99px"></asp:imagebutton></td>
<td><asp:imagebutton id="ImageButton4" runat="server" ImageUrl="images/default_07.gif" Height="99px"
Width="102px"></asp:imagebutton></td>
<td><asp:imagebutton id="ImageButton5" runat="server" ImageUrl="images/default_08.gif" Height="99px"
Width="94px"></asp:imagebutton></td>
<td rowSpan="4" width="37"></td>
</tr>
<tr>
<td colSpan="6"><IMG height="89" alt="" src="images/default_10.gif" width="818"></td>
</tr>
<tr>
<td vAlign="top" width="818" colSpan="6" height="961">
<TABLE id="Table1" style="WIDTH: 776px; HEIGHT: 128px" cellSpacing="1" cellPadding="1"
width="776" border="1">
<TR>
<TD style="WIDTH: 80px"><FONT face="宋体"></FONT></TD>
<TD style="WIDTH: 515px"><FONT face="宋体"></FONT></TD>
<TD><FONT face="宋体"></FONT></TD>
</TR>
<TR>
<TD style="WIDTH: 80px"><FONT face="宋体"><asp:panel id="Panel2" runat="server" Height="246px" Width="104px" BackImageUrl="images/default_21.gif">
<P> </P>
<P></P>
<P>
<asp:Button id="Button1" runat="server" Height="32px" Width="105px" Text="用户信息管理" BackColor="LightSkyBlue"></asp:Button></P>
<P>
<asp:Button id="Button2" runat="server" Height="32px" Width="104px" Text="商品信息管理" BackColor="LightSkyBlue"></asp:Button></P>
<P>
<asp:Button id="Button6" runat="server" Height="26px" Width="104px" Text="留言板" BackColor="LightSkyBlue"></asp:Button></P>
<P></P>
<P>
<asp:Button id="Button5" runat="server" Height="26px" Width="104px" Text="注销" BackColor="LightSkyBlue"></asp:Button></P>
<P> </P>
<P> </P>
</asp:panel></FONT></TD>
<TD style="WIDTH: 515px">
<P> </P>
<P> </P>
<asp:datagrid id="DataGrid1" runat="server" Height="214px" Width="488px" BackColor="White" ShowFooter="True"
OnPageIndexChanged="DataGrid1_PageIndexChanged" AllowSorting="True" Font-Size="Medium" Visible="False"
AutoGenerateColumns="False" PageSize="3" AllowPaging="True" BorderWidth="1px" BorderColor="#E7E7FF"
BorderStyle="None" CellPadding="3" GridLines="Horizontal">
<FooterStyle ForeColor="#4A3C8C" BackColor="#B5C7DE"></FooterStyle>
<SelectedItemStyle Font-Size="Medium" Font-Bold="True" ForeColor="#F7F7F7" BackColor="#738A9C"></SelectedItemStyle>
<AlternatingItemStyle BackColor="#F7F7F7"></AlternatingItemStyle>
<ItemStyle ForeColor="#4A3C8C" BackColor="#E7E7FF"></ItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="#F7F7F7" BackColor="#4A3C8C"></HeaderStyle>
<Columns>
<asp:BoundColumn DataField="userID" HeaderText="ID号"></asp:BoundColumn>
<asp:BoundColumn DataField="userName" HeaderText="姓名"></asp:BoundColumn>
<asp:BoundColumn DataField="sex" HeaderText="性别"></asp:BoundColumn>
<asp:BoundColumn DataField="address" HeaderText="地址"></asp:BoundColumn>
<asp:BoundColumn HeaderText="电话号码" DataFormatString="telephoneNum"></asp:BoundColumn>
<asp:BoundColumn HeaderText="E-mail" DataFormatString="e_mail"></asp:BoundColumn>
<asp:ButtonColumn Text="删除" ButtonType="PushButton" CommandName="Delete"></asp:ButtonColumn>
</Columns>
<PagerStyle HorizontalAlign="Right" ForeColor="#4A3C8C" BackColor="#E7E7FF" Mode="NumericPages"></PagerStyle>
</asp:datagrid>
<P><FONT face="宋体"> </FONT>
</P>
</TD>
<TD>
<P><FONT face="宋体"></FONT> </P>
<P><FONT face="宋体"></FONT> </P>
<P><FONT face="宋体"></FONT> </P>
<P><FONT face="宋体"></FONT> </P>
<P><FONT face="宋体"></FONT> </P>
<P><FONT face="宋体"><asp:button id="Button3" runat="server" Height="32px" Width="48px" BackColor="LightSkyBlue"
Text="确定" Visible="False"></asp:button></P>
<P>
<asp:Button id="Button4" runat="server" Height="32px" Width="48px" BackColor="LightSkyBlue"
Text="确定" Visible="False"></asp:Button></P>
</FONT></TD>
</TR>
<TR>
<TD style="WIDTH: 80px"><FONT face="宋体"></FONT></TD>
<TD style="WIDTH: 515px"></TD>
<TD><FONT face="宋体"></FONT></TD>
</TR>
</TABLE>
</td>
</tr>
<tr>
<td colSpan="6"><IMG height="12" alt="" src="images/mybuy_12.gif" width="818"></td>
</tr>
</table>
<asp:panel id="Panel1" style="Z-INDEX: 101; LEFT: 168px; POSITION: absolute; TOP: 320px" runat="server"
Height="152px" Width="472px" Visible="False" BorderStyle="Groove">
<asp:datagrid id="DataGrid2" runat="server" Height="224px" Width="488px" BackColor="White" GridLines="Horizontal"
CellPadding="3" BorderStyle="None" BorderColor="#E7E7FF" BorderWidth="1px" AllowPaging="True"
PageSize="3" AutoGenerateColumns="False" Visible="False">
<SelectedItemStyle Font-Bold="True" ForeColor="#F7F7F7" BackColor="#738A9C"></SelectedItemStyle>
<AlternatingItemStyle BackColor="#F7F7F7"></AlternatingItemStyle>
<ItemStyle ForeColor="#4A3C8C" BackColor="#E7E7FF"></ItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="#F7F7F7" BackColor="#4A3C8C"></HeaderStyle>
<FooterStyle ForeColor="#4A3C8C" BackColor="#B5C7DE"></FooterStyle>
<Columns>
<asp:BoundColumn DataField="commodityID" HeaderText="商品ID"></asp:BoundColumn>
<asp:BoundColumn DataField="comName" HeaderText="商品名"></asp:BoundColumn>
<asp:BoundColumn DataField="userID" HeaderText="发布者ID"></asp:BoundColumn>
<asp:BoundColumn DataField="price" HeaderText="价格"></asp:BoundColumn>
<asp:BoundColumn DataField="date" HeaderText="发布时间"></asp:BoundColumn>
<asp:HyperLinkColumn Text="详细信息" DataNavigateUrlField="commodityID" DataNavigateUrlFormatString="javascript:varwin=window.open('detail.aspx?ID={0}',null,'width=600,height=400');window.closed=false;"
HeaderText="查看"></asp:HyperLinkColumn>
</Columns>
<PagerStyle HorizontalAlign="Right" ForeColor="#4A3C8C" BackColor="#E7E7FF" Mode="NumericPages"></PagerStyle>
</asp:datagrid>
</asp:panel></form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -