title: How to export data from database to excel sheet using ASP.NET MVC?
body: <p>Does anyone know any simple NuGet package or other way to export data from database to Excel? I have a few tables and each one I'd like to export to other WorkSheet, but in same Excel file.</p>
  
  <p>Also later I'd like to import data from file Excel to database.
  For both operations may be different library.</p>
  
  <p>I tried already <a href="https://code.google.com/archive/p/excellibrary/" rel="nofollow">this</a> But it doesn't work.</p>
  
  <hr>
  
  <p>@EDIT - solved</p>
  
  <p>Here are some useful links. I hope that someday would help someone :)</p>
  
  <p><a href="http://epplus.codeplex.com/" rel="nofollow">http://epplus.codeplex.com/</a></p>
  
  <p><a href="http://techbrij.com/export-excel-xls-xlsx-asp-net-npoi-epplus" rel="nofollow">http://techbrij.com/export-excel-xls-xlsx-asp-net-npoi-epplus</a></p>