⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 particular.aspx

📁 电子商务买书的网站
💻 ASPX
字号:
<%@ Register TagPrefix="myControls" TagName="Top10" Src="ascx/top10.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Particular.aspx.vb" Inherits="shopb.Particular"%>
<HTML>
	<HEAD>
		<title>书籍详情</title>
		<link href="style.css" rel="stylesheet" type="text/css">
	</HEAD>
	<body>
		<form runat="server" ID="Form1">
			<!--标题栏-->
			<table border="0" cellpadding="0" cellspacing="0" width="657" height="80" align="center">
				<tr>
					<td width="300" align="left">
						<img border="0" src="images/logo.jpg" width="189">
					</td>
					<td align="right">
						<img border="0" src="images/adver.jpg" width="468" height="59">
					</td>
				</tr>
			</table>
			<!--输出类别信息-->
			<table width="657" border="1" cellspacing="0" cellpadding="0" bordercolor="#d1daf1" bgcolor="#d1daf1"
				class="text" height="20" align="center">
				<tr align="left">
					<td>
						<a href="index.aspx?KindId=0">首页</a>&nbsp;&nbsp;
						<asp:DataList id="myDataList" runat="server" RepeatDirection="Horizontal" style="POSITION: absolute">
							<ItemTemplate>
								<asp:HyperLink Text='<%# Container.DataItem("KindName") %>' NavigateUrl='<%# "index.aspx?KindId=" & Container.DataItem("KindId") %>' runat="server" ID="Hyperlink1"/> 
							</ItemTemplate>
							<SeparatorTemplate>
								&nbsp;&nbsp;
							</SeparatorTemplate>
						</asp:DataList>
					</td>
				</tr>
			</table>
			<!--输出用户登录和书籍列表-->
			<br>
			<table width="657" border="0" align="center">
				<tr>
					<td width="150" valign="top">
						<!--输出用户登录-->
						<table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolor="#d1daf1" bgcolor="#ffffff">
							<tr bgcolor="#d1daf1">
								<td align="left">
									<!--这里调用了用户控件-->
									<myControls:Top10 id="myTop10" runat="server" />
								</td>
							</tr>
						</table>
						<!--输出打开购物车的链接-->
						<br>
						<table width="150" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff" class="text">
							<tr>
								<td align="center">
									<p>
										<a href="#" onClick="open('myShoppingCart.aspx','购物车','resizable=0,scrollbars=1,status=no,toolbar=no,location=no,menu=no,width=660,height=400,left=100,top=100')">
											<img border="0" src="images/car.gif" width="50" height="50"> </a>
									</p>
								</td>
							</tr>
						</table>
					</td>
					<td valign="top">
						<!--输出书籍详细信息-->
						<asp:Repeater id="myRepeater" runat="server">
							<ItemTemplate>
							
					<table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#0099FF" align="center" class="text" height="74">
						<tr>
						<td height="70"> 
							<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF" class="text">
								<tr> 
									<td align="center" width="20%">
										<img src="showimage.aspx?BookId=<%# Container.DataItem("BookId") %>" width='67' height='87'>
									</td>
									<td align="left" >
										名称:<%# Container.DataItem("BookName") %>
										<br>作者:<%# Container.DataItem("BookAuthor") %>
										<br>价格:<%# Container.DataItem("BookPrice") %>元
										<a href="#"  onClick="open('BuyBook.aspx?BookId=<%# Container.DataItem("BookId") %>','购物车','resizable=0,scrollbars=1,status=no,toolbar=no,location=no,menu=no,width=660,height=400,left=100,top=100')">
											<img border="0" src="images/buy.gif">
										</a>
									</td>
								</tr>
							</table>
							<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF" class="text">
								<tr> 
									<td align="left" valign="top">
										<hr>
										<b>内容简介:</b>
										<p><%# shopb.ConvertString.HTMLEncode(Container.DataItem("BookIntro")) %>
									</td>
								</tr>
								<tr> 
									<td align="left" valign="top">
										<hr>
										<b>目录:</b>
										<p><%# shopb.ConvertString.HTMLEncode(Container.DataItem("BookIndex")) %>
									</td>
								</tr>
							</table>
						</td>
						</tr>
					</table>
					<p align="center"><a href="index.aspx">返回列表</a>

							</ItemTemplate>
						</asp:Repeater>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -