Ejemplo n.º 1
0
		public ActionResult Products3() {
			PagedDataTable model = new PagedDataTable();
			model.PageSize = 10;
			model.InitOrderBy("ProductName");
			ViewBag.SupplierList = db.Suppliers.ToList();

			return ProductDataSet(model);
		}
Ejemplo n.º 2
0
		public ActionResult Products2() {
			PagedDataTable model = new PagedDataTable();
			model.PageSize = 10;
			model.InitOrderBy("ProductID");

			return ProductDataSet(model);
		}