0
|
1 using System;
|
|
2
|
|
3 using PetShop.BusinessLogic;
|
|
4 using PetShop.ObjectModel;
|
|
5
|
|
6 public partial class Admin_Orders : System.Web.UI.Page
|
|
7 {
|
|
8 protected void Page_Load(object sender, EventArgs e)
|
|
9 {
|
|
10 binder.List = new OrderManager().GetAllOrderList();
|
|
11 }
|
|
12
|
|
13 protected static string FormatAddress(Address addr)
|
|
14 {
|
|
15 return string.Format(
|
|
16 "{0} {1}<br>{2} {3}<br>{4}, {5} {6}, {7}",
|
|
17 addr.FirstName,
|
|
18 addr.LastName,
|
|
19 addr.Line1,
|
|
20 addr.Line2,
|
|
21 addr.City,
|
|
22 addr.State,
|
|
23 addr.Zip,
|
|
24 addr.Country);
|
|
25 }
|
|
26 }
|