Today we will look at how to build Export to Excel functionality by deriving new type from ActionResult class.
To get started, lets setup following:
An ASP.NET MVC project
New controller with name "ExcelController.cs" inside controller folder
ConnectionString to any database (in this one I am using Products table of Adventure works database) [More]