温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:我的小书坊源码(三层实现)
当前文件:
MyBookShop/BookDetail.aspx,打开代码结构图
MyBookShop/BookDetail.aspx,打开代码结构图1<%@ Page Language="c#" Inherits="MyBookShop.Web.BookDetail" CodeFile="BookDetail.aspx.cs" %> 2
3
<%@ Register TagPrefix="MyBookShop" TagName="HeaderMenu" Src="UserControls/HeaderMenu.ascx" %> 4
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > 5
<html xmlns="http://www.w3.org/1999/xhtml"> 6
<head id="Head1" runat="server"> 7
<title>图书详细信息</title> 8
<link href="Styles/style.css" rel="stylesheet" type="text/css" /> 9
</head> 10
<body> 11
<form id="Form1" method="post" runat="server"> 12
<table id="Table1" style="z-index: 101; left: 8px; width: 504px; position: absolute; 13
top: 8px; height: 193px" cellspacing="0" cellpadding="0" width="504" border="0"> 14
<tr> 15
<td colspan="2" align="center"> 16
<MyBookShop:HeaderMenu ID="Headermenu1" runat="server"></MyBookShop:HeaderMenu> 17
</td> 18
</tr> 19
<tr> 20
<td style="width: 254px; height: 48px;"> 21
<asp:Label ID="LabelBookInfo" runat="server" Height="206px" Width="272px"></asp:Label></td> 22
<td valign="top" style="height: 48px"> 23
<asp:Image ID="ImageBook" runat="server" Width=150></asp:Image></td> 24
</tr> 25
<tr> 26
<td colspan="2" align="right"> 27
<asp:Button ID="ButtonBack" runat="server" Text="返回" Width="62px" OnClick="ButtonBack_Click"> 28
</asp:Button></td> 29
</tr> 30
</table> 31
</form> 32
</body> 33
</html> 34



