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

35 строки
950 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;
using Syncfusion.JavaScript;
using Syncfusion.JavaScript.Models;
using Syncfusion.EJ.Export;
using Syncfusion.XlsIO;
namespace MVCSampleBrowser.Controllers
{
public partial class SpreadsheetController : Controller
{
//
// GET: /Pivot/
public ActionResult Pivot()
{
var dataSource = PivotData.GetPivotDetails.ToList();
ViewBag.DataSource = dataSource;
return View();
}
}
}