MyBookShop/BookShop/Store/category.aspx

(完整代码) 1KB

<%@ Page Title="" Language="C#" MasterPageFile="~/Store/StoreDefault.Master" AutoEventWireup="true"  CodeBehind="category.aspx.cs" Inherits="BookShopProject.Store.category" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="left_content">
        <div class="crumb_nav"><a href="index.htm">home</a> &gt;&gt; category name </div>
        <div class="title"><span class="title_icon">
            <img src="images/bullet1.gif" alt="" title="" /></span>所有图书</div>
        <div class="searchBook">
            <input type="text" runat="server" name="txtSearch" id="txtSearch" placeholder="图书名" style="width:150px;height:22px;outline:none;" />
            <asp:Button runat="server" ID="btnSearch" Text="搜索" Height="28" Width="50" OnClick="btnSearch_Click" />
                    <%--<input type="submit" style="width:50px;height:28px;" value="搜索" />--%>
           
        </div>
        <div class="new_products">
            <%foreach (Model.Books item in list)
              {%>
                   <div class="new_prod_box">
                <a href="details.aspx?bookid=<%=item.Id %>"><%=item.Title.ToString().Length<10?item.Title:item.Title.ToString().Substring(0,10) %></a>
                <div class="new_prod_bg"><a href="details.aspx?bookid=<%=item.Id %>">
                    <img width="80" height="100" src="../img/Images/BookCovers/<%=item.ISBN %>.jpg" onerror="javascript:this.src='../Admin/img/noPicture.jpg' " class="thumb" border="0" /></a> </div>
            </div>
            <%  } %>
            <div class="pagination">   <%= Server.HtmlDecode((string)ViewState["pager"]) %></div>
        </div>
        <div class="clear"></div>
    </div>
</asp:Content>

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。