-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathView_Cart.aspx
170 lines (168 loc) · 13 KB
/
View_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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="View_Cart.aspx.cs" Inherits="View_Cart" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Poshora :: My Cart</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Image ID="Image1" runat="server" Height="154px" ImageUrl="file:///D:\Online Bookshop System\App_Data\main.bmp"
Style="left: 1px; position: absolute; top: 0px" Width="442px" />
<asp:Panel ID="Panel1" runat="server" BackColor="SkyBlue" BorderColor="SkyBlue" BorderStyle="Solid"
Height="29px" Style="left: 0px; position: absolute; top: 155px" Width="1058px">
<asp:Label ID="Label2" runat="server" Font-Bold="True" Font-Size="X-Large" ForeColor="White"
Text="Welcome, " style="left: 11px; position: absolute; top: 2px"></asp:Label>
<asp:Label ID="Label3" runat="server" Font-Bold="True" Font-Size="X-Large" ForeColor="White"
Text="Label" style="left: 121px; position: absolute; top: 3px"></asp:Label></asp:Panel>
<asp:Image ID="Image2" runat="server" Height="154px" ImageUrl="file:///D:\Online Bookshop System\App_Data\header.bmp"
Style="left: 442px; position: absolute; top: -1px" Width="636px" />
<br />
<br />
<asp:GridView ID="CartGrid" runat="server" AutoGenerateColumns="False" BackColor="White"
BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" CellPadding="4" DataKeyNames="ISBN"
OnRowEditing="cartGrid_RowEditing" Style="left: 8px; position: relative; top: 162px"
Width="911px" OnRowCancelingEdit="CartGrid_RowCancelingEdit" OnRowDeleting="CartGrid_RowDeleting" OnRowUpdating="CartGrid_RowUpdating">
<FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
<Columns>
<asp:BoundField DataField="ISBN" HeaderText="ISBN" ReadOnly="True" />
<asp:BoundField DataField="Title" HeaderText="Title" ReadOnly="True" />
<asp:BoundField DataField="Shop" HeaderText="Shop" ReadOnly="True" />
<asp:BoundField DataField="Quantity" HeaderText="Quantity" />
<asp:BoundField DataField="Price" HeaderText="Price" ReadOnly="True" />
<asp:BoundField DataField="LineTotal" HeaderText="Total" ReadOnly="True" />
<asp:CommandField ShowDeleteButton="True" />
</Columns>
<RowStyle BackColor="White" ForeColor="#003399" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
<PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
<HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
</asp:GridView>
</div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<asp:Label ID="Label1" runat="server" Font-Bold="True" Text="Total="></asp:Label>
<asp:Label ID="TotalLabel" runat="server" Font-Bold="True" Text="Label"></asp:Label>
<asp:Label ID="Label4" runat="server" Font-Bold="True" Font-Size="X-Large" Style="left: 328px;
position: absolute; top: 259px" Text="Your cart is empty." Visible="False"></asp:Label>
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Style="left: 359px;
position: absolute; top: 320px" Text="Back to Home" Visible="False" Font-Bold="True" Height="28px" />
<br />
<br />
<br />
<asp:ImageButton ID="continue_link" runat="server" ImageUrl="file:///D:\Online Bookshop System\App_Data\test1.jpg" OnClick="continue_link_Click" Height="35px" />
<asp:ImageButton ID="checkout_link" runat="server" ImageUrl="file:///D:\Online Bookshop System\App_Data\checkout.jpg" OnClick="checkout_link_Click" Height="32px" /><br />
<br />
<br />
<br />
<br />
<br />
<br />
</form>
</body>
</html>