<%@ Register TagPrefix="ASPNETCommerce" TagName="Menu" Src="_Menu.ascx" %>
<%@ Register TagPrefix="ASPNETCommerce" TagName="Header" Src="_Header.ascx" %>
<%@ Page Language="c#" CodeBehind="SearchResults.aspx.cs" AutoEventWireup="false" Inherits="ASPNET.StarterKit.Commerce.SearchResults" %>
<HTML>
	<HEAD>
		<link rel="stylesheet" type="text/css" href="ASPNETCommerce.css">
	</HEAD>
	<body background="images/sitebkgrdnogray.gif" leftmargin="0" topmargin="0" rightmargin="0"
		bottommargin="0" marginheight="0" marginwidth="0">
		<table cellspacing="0" cellpadding="0" width="100%" border="0">
			<tr>
				<td colspan="2">
					<ASPNETCommerce:Header ID="Header1" runat="server" />
				</td>
			</tr>
			<tr>
				<td valign="top">
					<ASPNETCommerce:Menu id="Menu1" runat="server" />
					<img height="1" src="images/1x1.gif" width="145">
				</td>
				<td align="left" valign="top" width="100%" nowrap>
					<table height="100%" align="left" cellspacing="0" cellpadding="0" width="100%" border="0">
						<tr valign="top">
							<td nowrap>
								<br>
								<asp:DataList id="MyList" RepeatColumns="2" runat="server">
									<ItemTemplate>
										<TABLE width="300" border="0">
											<TR>
												<TD width="25">&nbsp;
												</TD>
												<TD vAlign="middle" align="right" width="100"><A href='ProductDetails.aspx?productID=<%# DataBinder.Eval(Container.DataItem, "ProductID") %>'><IMG height=75 src='ProductImages/thumbs/<%# DataBinder.Eval(Container.DataItem, "ProductImage") %>' width=100 border=0>
													</A>
												</TD>
												<TD vAlign="middle" width="200"><A href='ProductDetails.aspx?productID=<%# DataBinder.Eval(Container.DataItem, "ProductID")%>'><SPAN class="ProductListHead"><%# DataBinder.Eval(Container.DataItem, "ModelName")%></SPAN><BR>
													</A>
													<SPAN class="ProductListItem">
														<B>价格</B>
														<%# DataBinder.Eval(Container.DataItem, "UnitCost", "{0:c}")%>
													</SPAN><BR>
													<A href='AddToCart.aspx?productID=<%# DataBinder.Eval(Container.DataItem, "ProductID")%>'>
														<FONT color="#9d0000"><B>添加到购物车</B></FONT></A>
												</TD>
											</TR>
										</TABLE>
									</ItemTemplate>
								</asp:DataList>
								<img height="1" width="30" src="Images/1x1.gif">
								<asp:Label id="ErrorMsg" class="ErrorText" runat="server" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</body>
</HTML>
