orderreviewcontrol.ascx
来自「C#语言制作asp.net网上商店的」· ASCX 代码 · 共 133 行
ASCX
133 行
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="OrderReviewControl.ascx.vb" Inherits="Shop_Checkout_OrderReviewControl" %>
<div > <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/Shop/checkout_Head_Order.gif" /></div>
<div class ="blankbox"></div>
<div class ="blankbox"></div>
<div ID ="Pannel">
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td class="title" rowspan="2" style="width: 100%; height: 24px;">
<asp:Label ID="lbShippingAddress" runat="server" Text="送货地址"></asp:Label>
<asp:Button ID="btnEditShippingAddress" runat="server" Text="编辑" Width="75px" /></td>
</tr>
<tr>
</tr>
<tr>
<td style="width: 100%; height: 19px">
<asp:Literal ID="ShippingAddress" runat="server"></asp:Literal></td>
</tr>
</table>
<hr />
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td class="title" rowspan="2" style="width: 100%">
<asp:Label ID="Label3" runat="server" Text="送货方式"></asp:Label>
<asp:Button ID="btnEditShippingMethod" runat="server" Text="编辑" Width="75px" /></td>
</tr>
<tr>
</tr>
<tr>
<td style="width: 100%; height: 19px">
<asp:Literal ID="ShippingMethod" runat="server"></asp:Literal></td>
</tr>
</table>
<hr />
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td class="title" rowspan="2" style="width: 100%">
<asp:Label ID="Label6" runat="server" Text="付款方式"></asp:Label>
<asp:Button ID="btnEditPaymentMethod" runat="server" Text="编辑" Width="75px" /></td>
</tr>
<tr>
</tr>
<tr>
<td style="width: 100%; height: 19px">
<asp:Literal ID="PaymentMethod" runat="server"></asp:Literal></td>
</tr>
</table>
<hr />
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td class="title" rowspan="2" style="width: 100%">
<asp:Label ID="Label4" runat="server" Text="下面的商品将会在一次配送之中"></asp:Label>
</td>
</tr>
<tr>
</tr>
<tr>
<td style="width: 100%; height: 19px">
<asp:GridView ID="gvCart" runat="server" AutoGenerateColumns="False" DataKeyNames="ProductID,Options"
EmptyDataText="你的购入车是空的" Width="100%">
<Columns>
<asp:HyperLinkField DataNavigateUrlFields="ProductID" DataNavigateUrlFormatString="~/ProductDetail.aspx?pID={0}"
DataTextField="ProductID" HeaderText="#ProductID" Visible="False">
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
</asp:HyperLinkField>
<asp:BoundField DataField="ProductName" HeaderText="商品名称" />
<asp:BoundField DataField="UnitPrice" DataFormatString="{0:c}" HeaderText="价格" />
<asp:BoundField DataField="Quantity" HeaderText="数量" />
<asp:TemplateField HeaderText="商品选项">
<ItemTemplate>
<asp:Literal ID="Options" runat="server" Text='<%# Eval("Options") %>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</td>
</tr>
</table>
<hr />
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td align="left" class="title" colspan="2">
How would you like your items shipped?</td>
</tr>
<tr>
<td align="left" class="FormHead" style="width: 100px">
<asp:Label ID="lblCouponCode" runat="server" Text="CouponCode"></asp:Label></td>
<td style="width: 100px">
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td align="left" class="FormHead" style="width: 100px">
<asp:Label ID="lbCouponKey" runat="server" Text="CouponKey"></asp:Label></td>
<td style="width: 100px">
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td align="left" colspan="2" style="height: 19px">
<asp:Literal ID="CouponMessage" runat="server"></asp:Literal></td>
</tr>
<tr>
<td align="left" colspan="2" style="height: 24px">
<asp:Button ID="btnUseCoupon" runat="server" Text="Use Coupon" /></td>
</tr>
</table>
<hr />
<table border="0" cellpadding="0" cellspacing="0" style="border-right: #41699a 2px double;
padding-right: 10px; border-top: #41699a 2px double; padding-left: 10px; padding-bottom: 5px;
border-left: #41699a 2px double; width: 100%; padding-top: 5px; border-bottom: #41699a 2px double">
<tr>
<td style="font-weight: bold; font-size: 14px; color: #ffff00; font-family: Verdana;
height: 10px; background-color: #41699a; text-align: center">
订单详情</td>
</tr>
<tr>
<td align="left" class="FormHead" >
<asp:Literal ID="Fee" runat="server"></asp:Literal>
</td>
</tr>
</table>
<br />
</div> <div class ="blankbox"></div>
<asp:Button ID="btnCreatOrder" runat="server" Height="41px" Text="提交订单" Width="122px" OnClientClick="this.disabled=true;this.form.submit();" UseSubmitBehavior="False" />
<div class ="blankbox"></div>
<asp:HiddenField ID="hfSFee" runat="server" />
<asp:HiddenField ID="hfCouponCode" runat="server" /><asp:HiddenField ID="hfCFee" runat="server" />
<asp:HiddenField ID="hfOFee" runat="server" />
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?