<%@ Control Language="c#" Inherits="Microsoft.Samples.SqlServer.HeaderControl" CodeFile="_Header.ascx.cs" %> <!-- ===================================================================== File: _header.ascx for Adventure Works Cycles Storefront Sample Summary: Master page visual component which should appear at the top of most web pages. Provides basic functionality navigation. 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. ======================================================= --> <%-- This user control forms the header for each page in the Store. --%> <table cellspacing="0" cellpadding="0" width="100%" border="0"> <tr> <td colspan="2" background="images/grid_background.gif" nowrap> <table cellspacing="0" cellpadding="0" width="100%" border="0"> <tr> <td colspan="2"> <img src="images/most_secretive_place.gif"> </td> <td align="right" nowrap> <table cellpadding="0" cellspacing="0" border="0"> <tr valign="top"> <td align="center" width="65"> <a href="Login.aspx" class="SiteLinkBold"><img src="images/sign_in.gif" border="0"> Sign In</a> </td> <td align="center" width="75"> <a href="OrderList.aspx" class="SiteLinkBold"><img src="images/account.gif" border="0"> Account</a> </td> <td align="center" width="55"> <a href="ShoppingCart.aspx" class="SiteLinkBold"><img src="images/cart.gif" border="0"> Cart</a> </td> <td align="center" width="65"> <a href="InstantOrder.asmx" class="SiteLinkBold"><img src="images/services.gif" border="0"> Services</a> </td> <tr> </table> </td> <td width="10"> </td> </tr> </table> </td> </tr> <tr> <td colspan="2" nowrap> <table cellspacing="0" cellpadding="0" width="100%" border="0"> <tr bgcolor="#9D0000"> <td background="images/modernliving_bkgrd.gif"> <img align="left" src="images/modernliving.gif"> </td> <td width="94" align="right" bgcolor="#9D0000"> <img src="images/search.gif"> </td> <td width="120" align="right" bgcolor="#9D0000"> <asp:textbox ID="txtSearch" maxlength="30" runat="server"/> </td> <td align="left" bgcolor="#9D0000"> <asp:imagebutton id="SearchButton" imageurl="images/arrowbutton.gif" runat="server" commandname="Search" OnCommand="CommandBtn_Click"/> </td> </tr> </table> </td> </tr> </table>