Quantcast
Channel: ASPSnippets RSS Feed
Viewing all articles
Browse latest Browse all 4693

ASP.Net Core MVC: Export DataSet (DataTable) to Excel file

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to export DataSet or DataTable to Excel file in ASP.Net Core MVC. The data from the database is fetched using ADO.Net into a DataTable. Then the DataTable is exported and downloaded as Microsoft Excel file using ClosedXML Excel Library which is a wrapper for OpenXml Excel library.

Viewing all articles
Browse latest Browse all 4693

Trending Articles