You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
1.2 KiB
16 lines
1.2 KiB
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ShowCart.aspx.cs" Inherits="ShowCart" Title="Untitled Page" %>
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
|
|
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4"
|
|
DataKeyNames="ID" ForeColor="#333333" GridLines="None" Height="139px" OnDataBound="GridView1_DataBound"
|
|
OnRowDataBound="GridView1_RowDataBound" OnRowDeleted="GridView1_RowDeleted" OnRowDeleting="GridView1_RowDeleting"
|
|
ShowFooter="True" Width="367px">
|
|
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
|
|
<RowStyle BackColor="#EFF3FB" />
|
|
<Columns>
|
|
<asp:BoundField DataField="ID" HeaderText="产品编号" />
|
|
<asp:BoundField DataField="Name" HeaderText="产品名称" />
|
|
<asp:BoundField DataField="Price" DataFormatString="{0:c}" HeaderText="价格" HtmlEncode="False" />
|
|
<asp:TemplateField HeaderText="数量">
|
|
<ItemTemplate>
|
|
<asp:TextBox ID="tbQuantity" runat="server" Text='<%# Eval("Quantity") %>' Width="87px"></asp:TextBox>
|