常用方法
常用方法
常用方法
常用方法
public ActionResult Index(int id = 0) { ViewBag.CategoryID = id; List <Product> Products = ProductDataContext.LoadProducts(id); return(View(Products)); }
public ActionResult Index(int id = 0) { ViewBag.CategoryID = id; List <Product> Products = ProductDataContext.LoadProducts(id); return(View(Products)); }