图书3
1 <%@ Page Title="" Language="C#" MasterPageFile="~/Master/MainMaster.Master" AutoEventWireup="true" CodeBehind="BookList.aspx.cs" Inherits="BookShop.Web.Member.BookList" EnableViewState="false" %> 2 <asp:Content ID="Content1" ContentPlaceHolderID="Header" runat="server"> 3 <link href="../Css/pageBarStyle.css" rel="stylesheet" /> 4 </asp:Content> 5 <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> 6 <asp:Repeater ID="BookListRepeater" runat="server"> 7 <ItemTemplate> 8 <TABLE> 9 <TBODY> 10 <TR> 11 <TD rowSpan=2><A 12 href="<%#Eval("Id","/BookDetail_{0}.aspx") %>"><IMG 13 id="ctl00_cphContent_dl_Books_ctl01_imgBook" 14 style="CURSOR: hand" height=121 15 alt="<%#Eval("Title") %>" hspace="4" 16 src="<%#Eval("ISBN","/Images/BookCovers/{0}.jpg") %>" width=95></A> 17 </TD> 18 <TD style="FONT-SIZE: small; COLOR: red" width=650><A 19 class=booktitle id=link_prd_name 20 href="<%#Eval("Id","/BookDetail_{0}.aspx") %>" target=_blank 21 name=link_prd_name><%#Eval("Title") %></A> 22 </TD></TR> 23 <TR> 24 <TD align=left><SPAN 25 style="FONT-SIZE: 12px; LINE-HEIGHT: 20px"><%#Eval("Author") %></SPAN><BR><BR><SPAN 26 style="FONT-SIZE: 12px; LINE-HEIGHT: 20px"><%#this.CutString(Eval("ContentDescription").ToString(),150)%></SPAN> 27 </TD></TR> 28 <TR> 29 <TD align=right colSpan=2><SPAN 30 style="FONT-WEIGHT: bold; FONT-SIZE: 13px; LINE-HEIGHT: 20px">¥ 31 <%#Eval("UnitPrice","{0:0.00}") %></SPAN> </TD></TR></TBODY></TABLE> 32 </ItemTemplate> 33 <SeparatorTemplate> 34 <hr /> 35 </SeparatorTemplate> 36 </asp:Repeater> 37 <div class="page_nav"> 38 <%=Common.PageBarHelper.GetPagaBar(PageIndex,PageCount)%> 39 </div> 40 </asp:Content>