📄 productshow.aspx
字号:
<%@ Register TagPrefix="cc1" Namespace="Thinksea.WebControls.PageNavigate" Assembly="Thinksea.WebControls.PageNavigate" %>
<%@ Page language="c#" Trace="true" Codebehind="ProductShow.aspx.cs" AutoEventWireup="True" Inherits="web.Index.ProdectShow" %>
<%@ Register TagPrefix="uc1" TagName="bottom" Src="../Controls/bottom.ascx" %>
<%@ Register TagPrefix="uc2" TagName="head" Src="../Index/head.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>产品展示</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">
<LINK href="Product.css" rel="stylesheet">
</HEAD>
<body style="MARGIN-TOP: 0px" MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<uc2:head id="Head1" runat="server"></uc2:head>
<div id="productsShow" style="PADDING-TOP: 5px" align="center">
<table style="BORDER-RIGHT: #9ec9eb 1px solid; BORDER-TOP: #9ec9eb 1px solid; BORDER-LEFT: #9ec9eb 1px solid; BORDER-BOTTOM: #9ec9eb 1px solid"
cellSpacing="0" cellPadding="0" width="760" align="center" border="0">
<TR bgColor="#efefef" height="26">
<td class="header" align="center" width="140" height="26">产品图片</td>
<td class="header" align="center" width="260" height="26">产品型号</td>
<td class="header" align="center" width="120" height="26">产品报价</td>
<td class="header" align="center" width="120" height="26">报价时间</td>
<td class="header" align="center" width="120" height="26">购买</td>
</TR>
<tr>
<td vAlign="top" width="760" colSpan="5"><asp:datagrid id="DataGrid2" runat="server" PageSize="8" AutoGenerateColumns="False" BorderWidth="0px"
Width="760" ShowHeader="False">
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<TABLE height="110" cellSpacing="0" cellPadding="0" width="760" border="0">
<TR>
<TD style="BORDER-BOTTOM: #9ec9eb 1px solid" vAlign="middle" align="center" width="140"
rowSpan="2" runat="server"><A href='ProductDetail.aspx?GoodsId=<%#DataBinder.Eval(Container.DataItem,"GoodsId")%>' target=_blank><IMG height=90 src='<%#DataBinder.Eval(Container.DataItem,"ImgUrl")%>' width=120 border=0></A></TD>
<TD width="260" height="40" runat="server"><A href='ProductDetail.aspx?GoodsId=<%#DataBinder.Eval(Container.DataItem,"GoodsId")%>' target=_blank><%#DataBinder.Eval(Container.DataItem,"GoodsName")%></A></TD>
<TD align="center" width="120" height="40" runat="server">¥<%#DataBinder.Eval(Container.DataItem,"Price")%></TD>
<TD align="center" width="120" height="40" runat="server"><%#DataBinder.Eval(Container.DataItem,"AddDate")%></TD>
<TD align="center" width="120" height="40">
<asp:ImageButton id="ImageButton1" runat="server" ImageUrl="../Image/Products/buy.gif" CommandName="buy"></asp:ImageButton>
<asp:Label id=idRecord runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"GoodsId")%>' Visible="False">
</asp:Label></TD>
</TR>
<TR>
<TD style="BORDER-BOTTOM: #9ec9eb 1px solid" vAlign="top" width="620" colSpan="4" height="70"
runat="server"><%#DataBinder.Eval(Container.DataItem,"Description")%></TD>
</TR>
</TABLE>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:datagrid></td>
</tr>
</table>
</div>
<div id="PageControl" align="center">
<table width="760">
<tr>
<td align="right" width="760"><cc1:pagenavigate id="PageNavigate1" runat="server" CssClass="Page" EnableViewState="False">
<PageButtonStyle Font-Names="Webdings"></PageButtonStyle>
<CurrentPageNumberStyle Font-Bold="True" Font-Size="Small" ForeColor="Red" />
</cc1:pagenavigate></td>
</tr>
</table>
</div>
<uc1:bottom id="Bottom1" runat="server"></uc1:bottom></form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -