-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwCart.aspx
51 lines (47 loc) · 2.5 KB
/
wCart.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<%@ Page Title="" Language="C#" MasterPageFile="~/Home.master" AutoEventWireup="true" CodeFile="wCart.aspx.cs" Inherits="wCart" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.BotonDeImagen
{
width:300px;
height:300px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<p>
Selected product:<asp:Label ID="Label1" runat="server" Font-Bold="True"></asp:Label>
in your Bag
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/clothprod.aspx">Contious Shopping</asp:HyperLink>
</p>
<p>
</p>
<table><tr><td><asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Height="476px" OnRowDeleted="GridView1_RowDeleted" onRowDelecting="GridView1_RowDelecting" ShowFooter="True" Width="788px" OnRowDeleting="GridView1_RowDeleting" >
<Columns>
<asp:BoundField DataField="sno" HeaderText="Sr.No">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="productId" HeaderText="Product ID">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:ImageField DataImageUrlField="productimage" HeaderText="Product Image">
<ControlStyle CssClass="BotonDeImagen"/>
<ItemStyle HorizontalAlign="Center" />
</asp:ImageField>
<asp:BoundField DataField="productname" HeaderText="Product Name">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="Price" HeaderText="Price">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="TotalPrice" HeaderText="Total Price ">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:CommandField DeleteText="Remove" ShowDeleteButton="True" />
</Columns>
<HeaderStyle Height="50px" />
</asp:GridView>
<asp:Label ID="Label2" runat="server" Text="Label" Visible="false"></asp:Label>
<center> <asp:Button ID="Button1" runat="server" Text="Buy Now" OnClick="Button1_Click" Height="32px" Width="102px" /></center></td><br /><td>
</td></tr></table>
</asp:Content>