Articles in this section
Category / Section

How can I use XlsIO in an Asp.Net application?

1 min read

XlsIO can be used in both winforms and webforms applications without any changes to the code. The usage is the same for both winforms and webforms applications, however XlsIO also supports to stream the created spreadsheet to the client browser. Use below code snippet to stream the generated spreadsheet to browser.


// Stream the workbook to browser



' Stream the workbook to browser
myWorkbook.SaveAs("Sample.xls", ExcelSaveType.SaveAsXLS, Response, ExcelDownloadType.PromptDialog)

Here is the sample


Did you find this information helpful?
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied