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

31 строка
854 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: /NumberFormatting/
public ActionResult NumberFormatting()
{
var dataSource = NumberFormatData.GetNumFormats.ToList();
ViewBag.Datasource = dataSource;
return View();
}
}
}