-
Notifications
You must be signed in to change notification settings - Fork 1
/
Display.aspx.cs
30 lines (26 loc) · 908 Bytes
/
Display.aspx.cs
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
//ID#: 1401375
//Developer: Lomar Lilly
//Module: Enterprise Computing
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Display : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Customer customer = (Customer)Session["Customer"];
lblName.Text = customer.FirstName + ' ' + customer.LastName;
lblSoftware.Text = Convert.ToString(customer.Software);
lblCost.Text = Convert.ToString(customer.Total);
lblNewsletter.Text = Convert.ToString(customer.NewsLetter);
lblAmount.Text = customer.Amount;
lblPaymentMethod.Text = customer.PaymentMethodText;
}
protected void btnShopAgain_Click(object sender, EventArgs e)
{
Response.Redirect("Default.aspx");
}
}