Skip to end of metadata
Go to start of metadata

Overload

Description

Save(String)

Saves the generated Excel file on the server. The ASPNET account (IIS5), NETWORK SERVICE account (IIS6 or IIS7), or the authenticated user must have Write access to the destination directory specified by the outputFileName parameter.

Save(System.IO.Stream)

Generates an Excel binary file and streams it to the specified System.IO.Stream or, a class derived from System.IO.Stream (for example, System.IO.FileStream). If you pass Save a System.IO.FileStream, ExcelWriter will save the generated file on the server. If you pass Save Response.OutputStream, ExcelWriter will stream the the generated file to the client.

Save(System.Web.HttpResponse)

If you pass Save an HttpResponse object object, ExcelWriter will stream the generated file to the client.

Save(System.Web.HttpResponse, String, Boolean)

If you pass Save an HttpResponse object, ExcelWriter will stream the generated file to the client. This method allows you to specify a default client-side file name, and whether the file should be opened in the browser window or in Microsoft Excel.

SharePoint Integration Extension Methods

Overload

Description

Save(Microsoft.SharePoint.SPDocumentLibrary, String, Boolean)

Generates an Excel binary or OOXML file and saves it to a SharePoint Document Library.

Save(Microsoft.SharePoint.SPListItem, String)

Generates an Excel binary or OOXML file and saves it as an attachment to a SharePoint list item.
  • No labels