WebWorksheets.SaveToExcelFile

SaveToExcelFile(string)

Saves the worksheets to an excel file with Excel 2003 format.

public void SaveToExcelFile(string fileName)
ParameterTypeDescription
targetFileStringThe name of the target file to write to.

See Also


SaveToExcelFile(Stream)

Saves the worksheets to a excel file stream, including disk IO stream or memory stream.

public void SaveToExcelFile(Stream stream)
ParameterTypeDescription
streamStreamThe target file stream to write to.

See Also


SaveToExcelFile(Stream, GridSaveFormat)

Saves the worksheets to an excel file.

public void SaveToExcelFile(Stream stream, GridSaveFormat format)
ParameterTypeDescription
streamStreamThe stream to write to.
formatGridSaveFormatThe file format(Excel2003, Excel2007, CSV, SpreadsheetML)

See Also


SaveToExcelFile(string, GridSaveFormat)

Saves the worksheets to an excel file.

public void SaveToExcelFile(string targetFile, GridSaveFormat format)
ParameterTypeDescription
targetFileStringThe name of the target file to write to.
formatGridSaveFormatThe file format(Excel2003, Excel2007, CSV, SpreadsheetML)

See Also