<%@ Control Language="C#" AutoEventWireup="true" CodeFile="PrductptPP.ascx.cs" Inherits="WebMain_Product_PrductptPP" %>
<asp:DataList ID="pp" runat="server" Width="100%" RepeatColumns="4">
    <ItemTemplate>
  <table border="0" cellpadding="0" cellspacing="0">
      <tr>
      <td align="center" colspan="4" class="Pimgboder" onmouseover="this.style.background='#f3f3f3';" onmouseout="this.style.background=''" >
      <a href='/china/productlist.aspx?id=<%# DataBinder.Eval(Container.DataItem,"id")%>' target="_blank"><img Border="0" src='/upfile/<%# DataBinder.Eval(Container.DataItem,"ThumbnailsPic")%>' height="120" width="120" ></a></td>
      </tr>
  <tr><td align="center" colspan="4">
          <div align="center">
   <a href='productlist.aspx?id=<%# DataBinder.Eval(Container.DataItem,"id")%>' target="_blank"></a>
</div><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td align="center" style="height: 23px;">
            <asp:LinkButton ID="Pname" runat="server" PostBackUrl='<%#"~/china/productlist.aspx?id="+DataBinder.Eval(Container.DataItem, "id")%>'><%# SubStr(Convert.ToString(DataBinder.Eval(Container.DataItem, "Products")),8) %></asp:LinkButton></td>
      </tr>
      <tr>
        <td align="center">
            <table border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td align="center" class="marketprice" style="height: 19px; width: 16px;">
                        <asp:Label ID="Label1" runat="server" Text="市"></asp:Label></td>
                    <td>
                        <asp:Label style="text-decoration: line-through" ID="MakPrice" runat="server"><%#Convert.ToDecimal(DataBinder.Eval(Container.DataItem, "Marketprice")).ToString("0.0")%></asp:Label></td>
                    <td align="center" class="vipprice" style="height: 19px" width="16">
                        &nbsp;<asp:Label ID="hui" runat="server" Text="会"></asp:Label></td>
                    <td>
                        <asp:Label ID="Price" runat="server"><%#Convert.ToDecimal(DataBinder.Eval(Container.DataItem, "SalePrice")).ToString("￥0")%></asp:Label></td>
                </tr>
            </table>
        </td>
      </tr>
      <tr>
        <td align="center" style="width: 123px">立刻节省：<asp:Label ID="ShPrice" runat="server" Font-Bold="True" Font-Size="13pt" ForeColor="Red"><%# (Convert.ToDecimal(DataBinder.Eval(Container.DataItem, "Marketprice")) - Convert.ToDecimal(DataBinder.Eval(Container.DataItem, "SalePrice"))).ToString("￥0") %></asp:Label></td>
      </tr>
      <tr>
        <td align="center" style="width: 123px; height: 18px;">
            <asp:HyperLink ID="buyto" runat="server">购买</asp:HyperLink>&nbsp;
  
            <a href='/china/productlist.aspx?id=<%# DataBinder.Eval(Container.DataItem,"id")%>' target="_blank">查看</a></td>
      </tr>
    </table>
      </td>
  </tr>
</table>
    </ItemTemplate>
</asp:DataList>