aspnet-mvc-ej1-demos/Controllers/Spreadsheet/PrintController.cs

30 строки
806 B
C#

#region Copyright Syncfusion Inc. 2001-2019.
// Copyright Syncfusion Inc. 2001-2019. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MVCSampleBrowser.Models;
namespace MVCSampleBrowser.Controllers
{
public partial class SpreadsheetController : Controller
{
//
// GET: /Print/
public ActionResult Print()
{
ViewBag.Datasource = new OrderItemsDataContext().GetPrintRecords().ToList();
return View();
}
}
}