Tag: Export to Word

Aug 15

Export Data to Word using C#

In this article I would like to show how to export datatable to Microsoft Word 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/msword” Here I will create file in windows temp (Run > %temp%) folder and write …

Continue reading »