<%@ Page Language="C#" MasterPageFile="~/UI.Master" AutoEventWireup="true" CodeBehind="ProductList.aspx.cs" Inherits="LZBS.Web.ProductList" Title="产品列表" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<div style="margin-top:50px; text-align:left;">
    <div style="background-image: url('Images/title_bg.gif'); height: 27px; font-size: larger; width:891px; line-height:35px;">产品展示</div>
    <div style="border: thin solid #3399FF; width:888px; font-size: larger; font-weight: 500; height:500px;">
    <asp:DataList ID="dlProduct" runat="server" RepeatColumns="2" Width="100%">
    <HeaderTemplate></HeaderTemplate>
    <ItemTemplate>
    <table cellspacing="5px" >   
        <tr>
            <td align="center" valign="middle"><a href='ProductInfo.aspx?ProductID=<%# DataBinder.Eval(Container.DataItem, "ProductID") %>' target="_blank">
            <img width="230" height="200" src='Admin/UploadFiles/Product/<%# DataBinder.Eval(Container.DataItem, "ImageUrl") %>' alt="" /></a></td>
            <td style="width:200px; height:35px;" align="left" valign="top">
                <a href='ProductInfo.aspx?ProductID=<%# DataBinder.Eval(Container.DataItem, "ProductID") %>' target="_blank">
                <%# DataBinder.Eval(Container.DataItem, "ProductName")%></a><br /><hr style="border: thin dotted #0099FF" />
                型号︰&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%# DataBinder.Eval(Container.DataItem, "Version")%><br /><hr style="border: thin dotted #0099FF" />
                品牌：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%# DataBinder.Eval(Container.DataItem, "Brand")%><br /><hr style="border: thin dotted #0099FF" />
                单价：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%# DataBinder.Eval(Container.DataItem, "Price")%>/件<br /><hr style="border: thin dotted #0099FF" />
                最少订量： &nbsp;<%# DataBinder.Eval(Container.DataItem, "MOQ")%>件<br /><hr style="border: thin dotted #0099FF" />
            </td>
        </tr>
    </table>    
    </ItemTemplate>
    <FooterTemplate></FooterTemplate>
    </asp:DataList>
     <div style="text-align:center;">
        <webdiyer:AspNetPager ID="anpPager" runat="server" 
                    OnPageChanged="anpPager_PageChanged" PageSize="4" 
                    InvalidPageIndexErrorMessage="" PageIndexOutOfRangeErrorMessage="" 
                    CustomInfoTextAlign="Right" FirstPageText="首页" LastPageText="尾页" 
                    NextPageText="下一页" PrevPageText="上一页">
        </webdiyer:AspNetPager>
    </div>   
    </div>
</div>
</asp:Content>
