• 分页项目


    图书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">&yen; 
    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>
  • 相关阅读:
    Docker常用基础命令详解
    Docker安装教程(超详细)
    IDEA 新建 Java 项目 (图文讲解, 良心教程)
    SpringBoot2.0之@Configuration注解
    idea的安装和无限期试用
    vue 取消上次请求
    calc()使用通用的数学运算规则,但是也提供更智能的功能:
    pdfh5 移动端 查看pdf
    Git处理Failed to connect to www.google.com port 80: Timed out
    对象排序
  • 原文地址:https://www.cnblogs.com/liuweiqiang11188/p/6686465.html
Copyright © 2020-2023  润新知