Tag: Export to Excel

Export Data to Excel using C#

In this article I would like to show how to export datatable to Microsoft Excel File using OPEN XML API. To create Excel file, we need to write data to Response object of HttpContext. The content type used should be “application/x-msexcel” Here I will create file in windows temp (Run > %temp%) folder and write …

Continue reading