<%@ Page language="c#" Codebehind="shoppingcart.aspx.cs" AutoEventWireup="false" Inherits="myshop.shoppingcart" %><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" ><HTML> <HEAD> <title>shoppingcart </title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <LINK href="mycss.css" type="text/css" rel="stylesheet"> <meta name="vs_defaultClientScript" content="JavaScript"> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"> </HEAD> <body> <center> <form id="Form1" runat="server"> <table width="500" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <asp:DataGrid id="ShoppingCartDlt" runat="server" Width="500" BackColor="white" BorderColor="black" ShowFooter="false" CellPadding="3" CellSpacing="0" Font-Name="Verdana" Font-Size="8pt" HeaderStyle-BackColor="#cecfd6" AutoGenerateColumns="false" MaintainState="true"> <Columns> <asp:TemplateColumn HeaderText="删除"> <ItemTemplate> <center> <asp:CheckBox id="chkProductID" runat="server" /> </center> </ItemTemplate> </asp:TemplateColumn> <asp:BoundColumn DataField="ProdID" HeaderText="ID" /> <asp:BoundColumn DataField="ProName" HeaderText="商品名称" /> <asp:BoundColumn DataField="UnitPrice" HeaderText="单价" /> <asp:TemplateColumn HeaderText="数量"> <ItemTemplate> <asp:TextBox id="CountTb" runat="server" Text='<%#DataBinder.Eval( Container.DataItem,"ProdCount" )%>'> </asp:TextBox> </ItemTemplate> </asp:TemplateColumn> <asp:BoundColumn DataField="TotalPrice" HeaderText="小计( 元 )" /> </Columns> </asp:DataGrid></td> </tr> </table> <br> <table width="500" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <asp:Button id="update" runat="server" Text="更新我的购物车" CssClass="button2" /></td> <td> <asp:Button id="CheckOut" runat="server" Text="结算" CssClass="button5" /> <input type="button" name="close2" value="继续购物" onClick="window.close( ); return false; " class="button2"></td> <td align="right"><br> <asp:Label id=
|
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)