public ActionResult Products3() { PagedDataTable model = new PagedDataTable(); model.PageSize = 10; model.InitOrderBy("ProductName"); ViewBag.SupplierList = db.Suppliers.ToList(); return ProductDataSet(model); }
public ActionResult Products2() { PagedDataTable model = new PagedDataTable(); model.PageSize = 10; model.InitOrderBy("ProductID"); return ProductDataSet(model); }