-
Notifications
You must be signed in to change notification settings - Fork 0
/
ShoppingCartRecord.aspx
90 lines (73 loc) · 3.82 KB
/
ShoppingCartRecord.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
<%@ Page language="c#" Inherits="Book_Store.ShoppingCartRecord" CodeFile="ShoppingCartRecord.cs" %>
<%@ Register TagPrefix="CC" TagName="Header" Src="Header.ascx" %><%@ Register TagPrefix="CC" TagName="Footer" Src="Footer.ascx" %><%@Register TagPrefix="CC" TagName="Pager" Src="CCPager.ascx"%>
<html>
<head>
<title>Book Store</title>
<meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0">
<meta name="GENERATOR" content="YesSoftware CodeCharge v.2.0.5 using 'ASP.NET C#.ccp' build 9/27/2001">
<meta name="CODE_LANGUAGE" Content="C#">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></head>
<body style="background-color: #FFFFFF; color: #000000; font-family: Arial, Tahoma, Verdana, Helveticabackground-color: #FFFFFF; color: #000000; font-family: Arial, Tahoma, Verdana, Helvetica">
<form method="post" runat="server">
<CC:Header id="Header" runat="server"/>
<input type=hidden id=p_ShoppingCartRecord_order_id runat=server />
<table><tr><td valign="top" >
<table id="ShoppingCartRecord_holder" runat="Server" style="width:100%">
<tr><td colspan=2 style="background-color: #336699; text-align: Center; border-style: outset; border-width: 1"><font style="font-size: 12pt; color: #FFFFFF; font-weight: bold"><asp:label id="ShoppingCartRecordForm_Title" runat="server">ShoppingCart</asp:label></font><br>
</td></tr>
<tr><td colspan="2" style="background-color: #FFFFFF; border-width: 1">
<asp:Label id=ShoppingCartRecord_ValidationSummary style="background-color: #FFFFFF; border-width: 1" runat="server" Visible="false"></asp:Label>
<input type="Hidden" id="ShoppingCartRecord_order_id" value="" runat="server">
<input type="Hidden" id="ShoppingCartRecord_member_id" value="" runat="server">
</td></tr>
<tr>
<td style="background-color: #FFEAC5; border-style: inset; border-width: 0"><font style="font-size: 10pt; color: #000000">Item</font></td>
<td style="background-color: #FFFFFF; border-width: 1">
<asp:Label id=ShoppingCartRecord_item_id
style="font-size: 10pt; color: #000000" runat="server">
</asp:Label>
</td>
</tr>
<tr>
<td style="background-color: #FFEAC5; border-style: inset; border-width: 0"><font style="font-size: 10pt; color: #000000">Quantity</font>
<asp:RequiredFieldValidator id=ShoppingCartRecord_quantity_Validator_Req runat="server" ErrorMessage="The value in field Quantity is required." ControlToValidate="ShoppingCartRecord_quantity" display="None" EnableClientScript="False"></asp:RequiredFieldValidator>
<asp:CustomValidator id=ShoppingCartRecord_quantity_Validator_Num OnServerValidate="ValidateNumeric" runat="server" EnableClientScript="False" ErrorMessage="The value in field Quantity is incorrect." ControlToValidate="ShoppingCartRecord_quantity" display="None"></asp:CustomValidator ></td>
<td style="background-color: #FFFFFF; border-width: 1">
<asp:TextBox
id=ShoppingCartRecord_quantity
Columns=5
runat="server"/>
</td>
</tr>
<tr><td align=right colspan=2 >
<input type="button"
id=ShoppingCartRecord_update
Value="Update"
runat="server" >
<input type="button"
id=ShoppingCartRecord_delete
Value="Delete"
runat="server" >
<input type="button"
id=ShoppingCartRecord_cancel
Value="Cancel"
runat="server" >
</td></tr>
</table>
<SCRIPT Language="JavaScript">
if (document.forms["ShoppingCartRecord"])
document.ShoppingCartRecord.onsubmit=delconf;
function delconf() {
if (document.ShoppingCartRecord.FormAction.value == 'delete')
return confirm('Delete record?');
}
</SCRIPT>
</td>
</tr></table>
<CC:Footer id="Footer" runat="server"/>
</form>
</body>
</html>