<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrderDetailHtml.aspx.cs" Inherits="LJCMS.OrderDetailHtml" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>订单列表</title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table class="border" cellspacing="0" cellpadding="0" width="100%" align="center"
                border="0">
                <tr class="tdbg">
                    <td valign="top" align="center">
                        <asp:Repeater runat="server" ID="gvShoppingCart" 
                            >
                            <HeaderTemplate>
                                <table width="97%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#f1f1f1">
                                    <tr bgcolor="#f1f1f1" align="center">
                                        <td>
                                            商品编号
                                        </td>
                                        <td>
                                            商品名称
                                        </td>
                                        <td>
                                            单价
                                        </td>
                                        <td>
                                            数量
                                        </td>
                                        <td>
                                            总价
                                        </td>
                                    </tr>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <tr bgcolor="white" align="center">
                                    <td>
                                        <%# GetProMessage((int)Eval("Product_Id"), 1)%>
                                    </td>
                                    <td>
                                        <a href='<%# GetHtmlPage((int)Eval("Product_Id")) %>' target="_blank">
                                            <%# GetProMessage((int)Eval("Product_Id"), 2)%>
                                        </a>
                                    </td>
                                    <td>
                                        <%# string.Format("{0:C}", (decimal)Eval("Price"))%>
                                    </td>
                                    <td>
                                        <%# Eval("Product_Num")%>
                                    </td>
                                    <td>
                                        <%# string.Format("{0:C}", (decimal)Eval("Price") * (int)Eval("Product_Num"))%>
                                    </td>
                                </tr>
                            </ItemTemplate>
                            <FooterTemplate>
                                </table>
                            </FooterTemplate>
                        </asp:Repeater>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>