<%@ page language="C#" masterpagefile="~/masterpage.master" CodeFile="Default.aspx.cs" Inherits="Microsoft.Samples.SqlServer.DefaultPage" %> <%@ Register TagPrefix="AdventureWorks" TagName="PopularItems" Src="_PopularItems.ascx" %> <asp:content id="Content1" contentplaceholderid="ContentPlaceHolder1" runat="server"> <!-- ===================================================================== File: Default.aspx for Adventure Works Cycles Storefront Sample Summary: Home page for the application. Provides news, popular item info, and instructions for what to do with the application. 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%"> <tr> <td> <table cellspacing="0" cellpadding="0" width="100%"> <tr> <td class="HomeHead"> <asp:Label id="WelcomeMsg" runat="server">Welcome to Adventure Works Cycles</asp:Label> </td> </tr> </table> <table cellspacing="0" cellpadding="2" width="600" border="0"> <tr valign="top"> <td> <table width="300"> <tr valign="top"> <td> <span class="NormalDouble">Welcome to the Adventure Works Cycles Internet Store! <br> <br> </span> </td> </tr> </table> </td> <td align="left"> <img border="0" width="240" src="ProductImages/julianax_r_02_blue_large.gif" height="149"> <br> <span class="NormalDouble"><i>Check out our new <a href='ProductDetails.aspx?productID=967&expansion=1&selection=14'><b>Touring bicycle</b></A></i></span> </td> <td> </td> </tr> <tr valign="top"> <td> <AdventureWorks:PopularItems runat="server" id="PopularItems1" /> </td> <td> <br> <span class="NormalDouble">To give Adventure Works Cycles a test spin, simply start browsing and add any items you want to your shopping cart. Click the <b>Documentation</b> link (left) at any point to learn what's going on under the hood.</span> </td> <td> </td> </tr> </table> </td> </tr> </table> </asp:content>