-
Notifications
You must be signed in to change notification settings - Fork 1
/
Display.aspx
89 lines (80 loc) · 3.59 KB
/
Display.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
<%--ID#: 1401375
Developer: Lomar Lilly
Module: Enterprise Computing--%>
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage.master" CodeFile="Display.aspx.cs" Inherits="Display" %>
<asp:Content ID="MyHead" runat="server" ContentPlaceHolderID="head"></asp:Content>
<asp:Content ID="MyMain" runat="server" ContentPlaceHolderID="MainContent">
<div class="wrap">
<div class="preview-page ">
<h3>Payment Summery</h3>
<%--Thanks for Shopping--%>
<div class="grid images_3_of_2">
<ul id="etalage">
<li>
<a href="#">
<img height="300" width="400" src="App_Theme/images/thanks.jpg" />
</a>
</li>
</ul>
</div>
<%------------------------%>
<%--Display customer Receipt--%>
<table class="table">
<tr>
<td>Name:</td>
<td>
<asp:Label ID="lblName" runat="server" Text="Label"></asp:Label></td>
</tr>
<tr>
<td>Bought:</td>
<td>
<%--Form View--%>
<asp:FormView ID="fvSoftware" runat="server" DataSourceID="sdsSoftware">
<ItemTemplate>
<asp:Label ID="SoftwareNameLabel" runat="server" Text='<%# Bind("SoftwareName") %>' />
</ItemTemplate>
</asp:FormView>
<%---------------%>
</td>
</tr>
<tr>
<td>Quantity:</td>
<td>
<asp:Label ID="lblAmount" runat="server" Text="Label"></asp:Label></td>
</tr>
<tr>
<td>Cost:</td>
<td>
<asp:Label ID="lblCost" runat="server" Text="Label"></asp:Label></td>
</tr>
<tr>
<td>Paid With:</td>
<td>
<asp:Label ID="lblPaymentMethod" runat="server" Text="Label"></asp:Label></td>
</tr>
<tr>
<td>Subscribed:</td>
<td>
<asp:Label ID="lblNewsletter" runat="server" Text="Label"></asp:Label></td>
</tr>
</table>
<%-------------------------------------%>
<br />
<%--Go back to home--%>
<div>
<asp:Button ID="btnShopAgain" CssClass="btn btn-success" runat="server" Text="Shop Again" OnClick="btnShopAgain_Click" Width="205px" />
</div>
<%-------------------%>
</div>
<%--Software ID From Session--%>
<asp:Label ID="lblSoftware" runat="server" Text="Label" Visible="False"></asp:Label>
<%----------------------------%>
</div>
<%--SQL Data Source--%>
<asp:SqlDataSource ID="sdsSoftware" runat="server" ConnectionString="<%$ ConnectionStrings:1401375ConnectionString %>" SelectCommand="spSoftware_SelectById" SelectCommandType="StoredProcedure">
<SelectParameters>
<asp:ControlParameter ControlID="lblSoftware" DefaultValue="1" Name="softwareID" PropertyName="Text" Type="Int32" />
</SelectParameters>
</asp:SqlDataSource>
<%-------------------%>
</asp:Content>