asp.net implement shopping Cart detail code

Source: Internet
Author: User

<%@ 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= "0" border= "0" cellspacing= "0" > <tr> <td>
<asp:datagrid id= "SHOPPINGCARTDLT" runat= "Server" width= "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= "Delete" >
<ItemTemplate> <center>
<asp:checkbox id= "Chkproductid" runat= "Server"/> </center>
</ItemTemplate> </asp:TemplateColumn>
<asp:boundcolumn datafield= "ProdID" headertext= "ID"/>
<asp:boundcolumn datafield= "Proname" headertext= "Commodity name"/>
<asp:boundcolumn datafield= "UnitPrice" headertext= "unit Price"/>
<asp:templatecolumn headertext= "Quantity" >
<ItemTemplate>
<asp:textbox id= "COUNTTB" runat= "server" text= ' <% #DataBinder. Eval (Container.DataItem, "Prodcount")%> ' > </asp: textbox>
</ItemTemplate> </asp:TemplateColumn>
<asp:boundcolumn datafield= "Totalprice" headertext= Subtotal (yuan)/> </Columns> </asp:DataGrid> </td> </tr> </table> <br> <tabl E width= "border=" "0" cellspacing= "0" cellpadding= "0" > <tr> <td>
<asp:button id= "Update" runat= "server" text= "Updating my Cart" cssclass= "button2"/> </td> <td>
<asp:button id= "CheckOut" runat= "Server" text= "settlement" cssclass= "Button5"/>
<input type= "button" Name= "Close2" value= "continue shopping" onclick= "window.close ();
return false;
"Class=" Button2 "> </td> <td align=" right "<br>
<asp:label id= "Label" runat= "Server" width= "100px" visible= "True" forecolor= "#FF8080" height= "18px" > </asp:Label> td> </tr> </table>
</form> </center>
</body> </HTML>

The HTML page section above

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.