comparison Demo/Asp.Net/Web/Admin/Orders.aspx.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
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 }