comparison Demo/Asp.Net/Web/Controls/CartList.ascx.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 using System.Collections.Generic;
3 using System.Web.UI;
4
5 using PetShop.ObjectModel;
6
7 namespace PetShop.Web
8 {
9 public partial class CartList : UserControl
10 {
11 public void Bind(ICollection<CartItem> cart)
12 {
13 if (cart != null)
14 {
15 repOrdered.DataSource = cart;
16 repOrdered.DataBind();
17 }
18 }
19 }
20 }