<%@ Control Language="C#" AutoEventWireup="true" CodeFile="allbook.ascx.cs" Inherits="usercontrol_allbook" %>
<asp:DataList ID="gbALL" runat="server" HorizontalAlign="Left" ShowFooter="False" ShowHeader="False" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" RepeatColumns="2">
    <ItemTemplate>
    <div align=center>
        <table>
  <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="151px"></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>
</div>
    </ItemTemplate>
</asp:DataList>&nbsp;