<%@ Page Language="c#" masterpagefile="~/masterpage.master" Inherits="Microsoft.Samples.SqlServer.ProductDetailsPage" CodeFile="ProductDetails.aspx.cs" %> <%@ Register TagPrefix="AdventureWorks" TagName="ReviewList" Src="_ReviewList.ascx" %> <%@ OutputCache Duration="60" VaryByParam="ProductID" VaryByCustom="Culture" %> <asp:content id="Content1" contentplaceholderid="ContentPlaceHolder1" runat="server"> <!-- ===================================================================== File: ProductDetails.aspx for Adventure Works Cycles Storefront Sample Summary: Displays information about a particular product, including upsell information via the _AlsoBought.ascx user control Date: June 16, 2003 ===================================================================== This file is part of the Microsoft SQL Server Code Samples. Copyright (C) Microsoft Corporation. All rights reserved. This source code is intended only as a supplement to Microsoft Development Tools and/or on-line documentation. See these other materials for detailed information regarding Microsoft code samples. THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. ======================================================= --> <table cellSpacing="0" cellPadding="0" width="100%" border="0"> <tr> <td class="ContentHead"> <img height="32" src="images/1x1.gif" width="60" align="left"><asp:label id="ModelName" runat="server" /> <br> </td> </tr> </table> <table cellSpacing="0" cellPadding="0" width="100%" border="0"> <tr vAlign="top"> <td rowspan="2"> <img height="1" width="24" src="images/1x1.gif"> </td> <td width="309"> <img height="15" src="images/1x1.gif"> <br> <asp:image id="ProductImage" runat="server" height="149" width="240" BorderStyle="None" /> <br> <br> <img height="20" src="images/1x1.gif" width="72"><span class="UnitCost"><b>Your Price:</b> <asp:label id="UnitCost" runat="server" /></span> <br> <img height="20" src="images/1x1.gif" width="72"><span class="ModelNumber"><b>Model Number:</b> <asp:label id="ModelNumber" runat="server" /></span> <br> <img height="20" src="images/1x1.gif" width="72"><span class="ModelNumber"><b>Product Number:</b> <asp:label id="ProductNumber" runat="server" /></span> <br> <img height="30" src="images/1x1.gif" width="72"><asp:hyperlink id="addToCart" runat="server" ImageUrl="images/add_to_cart.gif" /> </td> <td> <table width="300" border="0"> <tr> <td vAlign="top"> <asp:label cssclass="NormalDouble" id="description" runat="server"></asp:label> <br> </td> </tr> </table> </td> </tr> <tr> </tr> </table> <table border="0"> <tr> <td> <img src="images/1x1.gif" width="89" height="20"> </td> <td width="100%"> <AdventureWorks:ReviewList ID="ReviewList" runat="server" /> </td> </tr> </table> </asp:content>