Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

3. Open the template file from earlier with the ExcelTemplate.Open() method.

Csharp
3
3
XLT.Open(Page.MapPath("//templates//part1_template.xlsx"));

...

10. Call ExcelTemplate.Save() to save the output file.

ExcelTemplate has several output options: save to disk, save to a stream, stream the output file in a page's Response inline or as an attachment.

...