/// <summary> /// 提取Cookie /// </summary> /// <returns></returns> public static List<ShoppingGoods> TiQuCookies() { ShoppingMallContext db = new Shopp Read More
posted @ 2015-06-25 17:33 Linda_Je Views(218) Comments(0) Diggs(0) Edit
添加Cart、Order和OrderDetails模型类 购物和结算都要使用某些新的类,在Models文件夹上单击右键添加Cart类(Card.cs),代码如下: using System.ComponentModel.DataAnnotations; namespace MvcMusicStore Read More
posted @ 2015-06-25 17:32 Linda_Je Views(286) Comments(0) Diggs(0) Edit
/// <summary> /// 删除Cookie /// </summary> /// <param name="skuID">从购物车选择要删除的商品ID</param> /// <returns>先从Cookie里提取出所有的商品并放进一个字典 Dictionary<int, int> di Read More
posted @ 2015-06-25 17:30 Linda_Je Views(203) Comments(0) Diggs(0) Edit
/// /// 商品小类筛选页面 GoodsTypeName ----------------SelectGoods--商品筛选 --图文 /// Home/SelectGoods /// /// /// public ActionResult selectgoods(int ... Read More
posted @ 2015-06-25 17:29 Linda_Je Views(369) Comments(0) Diggs(0) Edit