<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Product_V_Control.ascx.cs" Inherits="MkSun.Ke_System.Control_Product_Product_V_Control" %>
<script language="JavaScript">
var flag=false;
function DrawImage(ImgD){
} 
</script>
<table style="width: 100%">
    <tr>
        <td >
              <asp:GridView ID="myGridView" runat="server" AutoGenerateColumns="False"
                BorderStyle="None" Width="100%" GridLines="None" ShowHeader="False">
                    <Columns>
                        <asp:TemplateField>
                            <ItemTemplate>
<table align="center" border="0" cellpadding="2" cellspacing="2" width="100%">
                                    <tr>
                                        <td align="center" background="images/product1_bj.gif" rowspan="2" valign="middle"
                                            width="313"><a href="ShowProduct.aspx?ID=<%#Eval("ProductID") %>"><img  src="<%#Eval("ProductPhoto") %>" border="0"   width="140" height="110"/></a>                                     </td>
                                        <td width="911" height="134" >

                                            产品名称：<%#Eval("ProductName") %>
                                            <br />
                                             产品型号：<%#Eval("ProductModel") %>
                                            <br />
                                            品牌：<%#Eval("productBrand")%><br />
                                            主要特点及优点:<br />
                                      <%#GetStr(Eval("productWeight").ToString(), 100)%></td>
                                    </tr>
                                    <tr>
                                        <td bgcolor="#e5f0fa" height="28" style="width: 322px">
                                            【<a href="ShowProduct.aspx?ID=<%#Eval("ProductID") %>">查看详细介绍&gt;&gt;</a>】</td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
             
            </asp:GridView>
        </td>
    </tr>
    <tr>
        <td >
            <table align="center" cellpadding="3" cellspacing="2">
                <tr>
                    <td style="height: 24px">
                        共<asp:Label ID="LabelRecordCount" runat="server">0</asp:Label></td>
                    <td style="height: 24px">
                        条记录</td>
                    <td style="height: 24px">
                        第<asp:Label ID="LabelPageCurrent" runat="server" Text="0"></asp:Label></td>
                    <td style="height: 24px">
                        页/总</td>
                    <td style="height: 24px">
                        <asp:Label ID="LabelPageCount" runat="server">0</asp:Label>页
                    </td>
                    <td style="height: 24px">
                        <asp:LinkButton ID="btnPageFirst" runat="server" OnClick="btnPageFirst_Click">首页</asp:LinkButton>
                    </td>
                    <td style="height: 24px">
                        <asp:LinkButton ID="btnPageNext" runat="server" OnClick="btnNext_Click">下一页</asp:LinkButton>
                    </td>
                    <td style="height: 24px">
                        <asp:LinkButton ID="btnPagePre" runat="server" OnClick="btnPre_Click">上一页</asp:LinkButton>
                    </td>
                    <td style="height: 24px">
                        <asp:LinkButton ID="btnPageLast" runat="server" OnClick="btnLast_Click">尾页</asp:LinkButton>
                    </td>
                    <td style="height: 24px">
                        转到第</td>
                    <td style="width: 85px; height: 24px">
                        <asp:DropDownList ID="DropDownListPage" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownListPage_SelectedIndexChanged">
                        </asp:DropDownList>页
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
