📄 productclass.aspx
字号:
<%@ Register TagPrefix="uc1" TagName="productSearch" Src="Controls/productSearch.ascx" %>
<%@ Page language="c#" Codebehind="productClass.aspx.cs" AutoEventWireup="false" Inherits="shop.productClass" %>
<%@ Register Src="Controls/head.ascx" TagName="head" TagPrefix="uc2" %>
<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 style="width: 764px" >
<uc2:head ID="Head1" runat="server" />
<hr color="#43a0db" size="1" style="width: 771px" />
</td>
</tr>
<tr>
<td style="width: 764px" >
<uc1:productSearch ID="ProductSearch1" runat="server" />
<hr color="#43a0db" size="1" style="width: 771px" />
</td>
</tr>
<tr>
<td style="width: 764px" >
当前第
<asp:Label ID="pageNow" runat="server">1</asp:Label>页 共:
<asp:Label ID="pTotal" runat="server"></asp:Label>
<asp:LinkButton ID="toFirst" runat="server" Text="首页"></asp:LinkButton>
<asp:LinkButton ID="prePage" runat="server" Text="上一页"></asp:LinkButton>
<asp:LinkButton ID="nextPage" runat="server" Text="下一页"></asp:LinkButton>
<asp:LinkButton ID="toEnd" runat="server" Text="尾页"></asp:LinkButton>
<hr color="#43a0db" size="1" style="width: 771px" />
<asp:Label ID="lblNotice" runat="server" ForeColor="Red" Width="528px"></asp:Label>
<hr color="#43a0db" size="1" style="width: 771px" />
</td>
</tr>
<tr>
<td style="width: 764px" >
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
<table border="0" cellpadding="0" cellspacing="0" width="95%">
<tr>
<td rowspan="2" valign="top" width="21%">
<!--商品图片-->
<a href='productDetail.aspx?ProductId=<%# DataBinder.Eval(Container.DataItem,"ProductId")%>'
title="查看详细资料">
<img border="0" height="120" src='<%# DataBinder.Eval(Container.DataItem,"PPicture")%>'
width="113">
</a>
</td>
<td colspan="2" height="27">
<!--商品名称-->
<strong> <a href='productDetail.aspx?ProductId=<%# DataBinder.Eval(Container.DataItem,"ProductId")%>'
title="查看详细资料">
<%# DataBinder.Eval(Container.DataItem,"Detail2")%>
</a></strong>
</td>
</tr>
<tr>
<td height="100" valign="top" width="43%">
<!--简介-->
<%# DataBinder.Eval(Container.DataItem,"Detail3")%>
<br>
<%# DataBinder.Eval(Container.DataItem,"Detail4")%>
<br>
<%# DataBinder.Eval(Container.DataItem,"ProductId")%>
<br>
<%# DataBinder.Eval(Container.DataItem,"PPrice","{0:c}")%>
<br>
<a href='productDetail.aspx?ProductId=<%# DataBinder.Eval(Container.DataItem,"ProductId")%>'>
详细介绍</a>
</td>
<td valign="top" width="36%">
原价: <del>
<%# DataBinder.Eval(Container.DataItem,"PMemberPrice","{0:c}")%>
</del>
<br>
现价:
<%# DataBinder.Eval(Container.DataItem,"PFewPrice","{0:c}")%>
<br>
立即节省: <font color="#ff0000">
<%# DataBinder.Eval(Container.DataItem,"ProductId")%>
</font>
<br>
<br>
<!--放入购物车-->
<a href="#" onclick="javascript:window.open('pubCart.aspx?ProductId=<%# DataBinder.Eval(Container.DataItem,"ProductId")%>','popuge', 'toolbars=0, scrollbars=yes, location=0, statusbars=0, menubars=0, resizable=0,width=580, height=480, left = 150, top = 50')">
<img border="0" src="images/buy.gif">
</a>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<hr noshade="noshade" size="1">
</td>
</tr>
</table>
<br>
</ItemTemplate>
</asp:Repeater>
</td>
</tr>
<tr>
<td style="width: 764px" >
<hr color="#43a0db" size="1" style="width: 771px" />
<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>
</center>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -