?? producthot.aspx
字號:
?<%@ Page language="c#" Codebehind="productHot.aspx.cs" AutoEventWireup="false" Inherits="shop.productHot" %>
<%@ Register Src="Controls/head.ascx" TagName="head" TagPrefix="uc2" %>
<%@ Register TagPrefix="uc1" TagName="productSearch" Src="Controls/productSearch.ascx" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>熱銷產品</title>
<link href="style\SiteStyle.css" type="text/css" rel="stylesheet">
</head>
<body>
<form id="form1" runat="server">
<center>
<table>
<tr>
<td>
<uc2:head ID="Head1" runat="server" />
</td>
</tr>
<tr>
<td style="width: 431px">
<uc1:productSearch ID="ProductSearch1" runat="server" />
<hr color="#43a0db" size="1" style="width: 771px" />
</td>
</tr>
<tr>
<td align="center"><table style="width: 770px; height: 50px" border="0" cellpadding="0" cellspacing="0" id="Table2">
<tr>
<td style="font-size: 15pt; color: #99ff33; background-color: #43a0db;">
<strong>
熱銷商品:</strong></td>
</tr>
<tr>
<td align="center" valign="top">
<asp:DataGrid ID="DataGrid1" runat="server" AutoGenerateColumns="False" BackColor="White"
BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3"
Width="100%">
<SelectedItemStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
<ItemStyle ForeColor="#000066" />
<HeaderStyle BackColor="#43A0DB" Font-Bold="True" ForeColor="White" />
<FooterStyle BackColor="White" ForeColor="#000066" />
<Columns>
<asp:HyperLinkColumn DataNavigateUrlField="ProductId" DataNavigateUrlFormatString="productDetail.aspx?productId={0}"
DataTextField="PName" HeaderText="商品名稱" Target="_blank"></asp:HyperLinkColumn>
<asp:BoundColumn DataField="PPrice" DataFormatString="<del>{0:c}</del>"
HeaderText="原價">
<HeaderStyle />
</asp:BoundColumn>
<asp:BoundColumn DataField="PMemberPrice" DataFormatString="<font color=red>{0:c}</font>"
HeaderText="現價">
<HeaderStyle />
</asp:BoundColumn>
<asp:BoundColumn DataField="PClick" DataFormatString="{0}次" HeaderText="點擊數">
<HeaderStyle />
</asp:BoundColumn>
<asp:HyperLinkColumn DataNavigateUrlField="productId" DataNavigateUrlFormatString="productDetail.aspx?productId={0}"
HeaderText="查看" Target="_blank" Text="詳細資料">
<HeaderStyle Width="70px" />
</asp:HyperLinkColumn>
</Columns>
<PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" Mode="NumericPages" />
</asp:DataGrid>
<hr color="#43a0db" size="1" style="width: 771px" /></td>
</tr>
<tr>
<td>
<table width="100%">
<tr>
<td align="center" style="height: 17px">
? 版權所有2000-2006,杭州品杰科技有限責任公司</td>
</tr>
<tr>
<td align="center" style="height: 16px">
未經杭州品杰科技有限責任公司書面特別授權,請勿轉載或建立鏡像,違者依法必究</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -