-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cart.aspx
82 lines (62 loc) · 2.49 KB
/
Cart.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Cart.aspx.cs" Inherits="WebApplication1.Cart" %>
<asp:Content ID="Contect3" ContentPlaceHolderID="head" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<br />
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<style type="text/css">
.img {
height:200px;
width: 200px;
}
.grdview {
color: white;
margin: 0 auto;
font-weight: bold;
font-size: 18px;
padding: 100px;
background-color:rgba(0,0,0,0.5);
box-shadow: 0 0 4px 2px grey;
border: 2px;
border-color: black;
}
.hpr_txt {
font-weight: bold;
font-size: 28px;
color:greenyellow;
}
</style>
<asp:HyperLink ID="HyperLink1" runat="server" CssClass="hpr_txt" NavigateUrl="~/Store.aspx">Continue Shopping</asp:HyperLink>
<br />
<br />
<br />
<br />
<asp:GridView ID="GridView1" runat="server" CssClass="grdview" AutoGenerateColumns="False" Height="240px" Width="700px" OnRowDeleting="GridView1_RowDeleting">
<Columns >
<asp:BoundField DataField="sno" HeaderText="S.No">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="productid" HeaderText="Product Id">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="productname" HeaderText="Product Name">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="price" HeaderText="Price">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:ImageField DataImageUrlField="productimage" HeaderText="Product Image" ControlStyle-Height="150" ControlStyle-Width="150">
<ControlStyle Height="150px" Width="150px"></ControlStyle>
<ItemStyle HorizontalAlign="Center" Height="50px" Width="50px" />
</asp:ImageField>
<asp:CommandField DeleteText="Remove" ShowDeleteButton="True" />
</Columns>
<HeaderStyle Height="50px" Width="100px" />
</asp:GridView>
<br />
<br />
<br />
</ContentTemplate>
</asp:UpdatePanel>
</asp:Content>