

将以下代码，直接复制到DATALIST控件的普通模板中

<table width="100%" style="height: 4px">
    <tr>
        <td align="right" colspan="2" style="height: 30px">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
          <td align="center" rowspan="6" style="width: 125px">
         <a href='productlist.aspx?id=<%# DataBinder.Eval(Container.DataItem,"id")%>' target="_blank"> <img Border="0" Height="110" Width="110" src='/upfile/<%# DataBinder.Eval(Container.DataItem,"ThumbnailsPic")%>'></a></td>
        <td align="left">
             <asp:LinkButton ID="LinkButton1" runat="server" CssClass="fonttb2"><%# SubStr(Convert.ToString(DataBinder.Eval(Container.DataItem, "Products")),20) %></asp:LinkButton></td>
      </tr>
      <tr style="color: #000000">
        <td align="left">
                    <asp:Label ID="dir" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"Description")%>'></asp:Label></td>
      </tr>
                <tr>
                    <td align="left" rowspan="1">
                        市场价：<asp:Label ID="Label2" runat="server" style="text-decoration: line-through"><%#Convert.ToDecimal(DataBinder.Eval(Container.DataItem, "Marketprice")).ToString("C")%></asp:Label></td>
                </tr>
                <tr>
                    <td align="left" rowspan="1" valign="top">
                        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%; height: 100%">
                            <tr>
                                <td valign="top">
                    优惠价：<asp:Label ID="Label3" runat="server"><%#Convert.ToDecimal(DataBinder.Eval(Container.DataItem, "SalePrice")).ToString("C")%></asp:Label></td>
                                <td align="right" colspan="2">

                                          
                   <a href='/china/cart.aspx?pid=<%# DataBinder.Eval(Container.DataItem,"id")%>&do=addPP&price=<%#Convert.ToDecimal(DataBinder.Eval(Container.DataItem, "SalePrice"))%>' target="_blank">   <asp:Image ID="Image1" runat="server" BorderWidth="0" ImageUrl="~/images/buyfd.gif"/></a>
                      <a href='/china/productlist.aspx?id=<%# DataBinder.Eval(Container.DataItem,"id")%>' target="_blank">    <asp:Image ID="Image2" runat="server" ImageUrl="~/images/details.gif" /></a></td>
                            </tr>
                        </table>
                    </td>
                </tr>
      <tr>
        <td align="left" rowspan="2">
        </td>
      </tr>
      <tr>
      </tr>
    </table>
        </td>
    </tr>
</table>