<%@ Control Language="C#" AutoEventWireup="true" CodeFile="good.ascx.cs" Inherits="usercontrol_book" %>
<%@ Register Assembly="Jiaen.Controls" Namespace="SiteUtils" TagPrefix="cc1" %>
<asp:DataList ID="dlBook" runat="server"  RepeatColumns="2">
<ItemTemplate>
        <table style="width: 350px; height: 117px">
  <tr align=left>
    <td  valign=top rowspan="5">&nbsp;<a runat= server href='<%#"~/orderbook.aspx?id="+Eval("book_ID") %>'> <img ID="img" runat="server" src='<%# Eval("book_image") %>' Width=80 Height=110 alt='<%#Eval("book_name") %>' border=0 /> </a></td>
    <td  valign=top>书名：<asp:HyperLink ID="Label1" runat="server" NavigateUrl='<%#"~/orderbook.aspx?id="+Eval("book_ID") %>'><%# Eval("book_name") %></asp:HyperLink></td>
  </tr>
  <tr align=left>
    <td  valign=top>上架时间：<asp:Label ID="Label2" runat="server" Text='<%# Eval("inTime") %>' Width="168px"></asp:Label></td>
  </tr>
  <tr align=left>
    <td  valign=top >原价：<asp:Label ID="Label4" runat="server" Text='<%# Eval("oldprice") %>' Width="106px"></asp:Label></td>
  </tr>
  <tr align=left>
    <td  valign=top>现价：<asp:Label ID="Label3" runat="server" Text='<%# Eval("nowprice") %>' Width="106px"></asp:Label>
        </td>
  </tr>
  <tr align=left>
    <td  valign=top>库存：<asp:Label ID="Label5" runat="server" Text='<%# Eval("book_number") %>' Width="105px"></asp:Label></td>
  </tr>
</table>

    </ItemTemplate>
</asp:DataList><cc1:collectionpager id="cPage" runat="server" resultslocation="None" PageSize="6" BackNextLinkSeparator="|" BackText="上一页" FirstText="第一页" LabelText="第" LastText="最后一页" NextText="下一页" PageNumbersSeparator="-" ShowFirstLast="False" backnextlocation="Right" pagenumbersdisplay="Numbers"></cc1:collectionpager>
