Excel upload base on koogra project NuGet Package

Convert Excel file to filled List<T>

using ExcelUpload;
using ExcelUpload.Abstract;

[HttpPost]
public ActionResult Upload(HttpPostedFileBase file) {

List<IPTable> PTableList = new List<IPTable>();
PTableList.Add(new PTable<Sedan>());
PTableList.Add(new PTable<Order>());
ExcellReader er = new ExcellReader();
er.ReadExcelContent(file, PTableList);
List<Sedan> Sedans = (List<Sedan>)PTableList[0].GetDataList;
List<Order> Orders = (List<Order>)PTableList[1].GetDataList;
...
.




Got any Excel upload base on koogra project Question?





Info

Version: 1.0.0
Author(s): Smith
Last Update: Saturday, May 7, 2016
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/excellupload


Install
Install-Package excellupload
dotnet add package excellupload
paket add excellupload
excellupload Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

3

days-since-last-release

3122