SaveToExcelFile

SaveToExcelFile(string)

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

public void SaveToExcelFile(string fileName)
Parameter Type Description
targetFile String The 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)
Parameter Type Description
stream Stream The 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)
Parameter Type Description
stream Stream The stream to write to.
format GridSaveFormat The 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)
Parameter Type Description
targetFile String The name of the target file to write to.
format GridSaveFormat The file format(Excel2003, Excel2007, CSV, SpreadsheetML)

See Also