MainWeb.SaveToExcelFile

SaveToExcelFile(string, GridSaveOptions)

Saves the worksheets to an excel file.

public void SaveToExcelFile(string targetFile, GridSaveOptions saveOptions)
ParameterTypeDescription
targetFileStringThe name of the target file to write to.
saveOptionsGridSaveOptionsThe save options.

See Also


SaveToExcelFile(string)

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

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

See Also


SaveToExcelFile(Stream)

Saves the worksheets to an excel file.

public void SaveToExcelFile(Stream stream)
ParameterDescription
streamThe stream to write to.
formatThe file format(Excel2003, Excel2007, CSV, SpreadsheetML)

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(Stream, GridSaveOptions)

Saves the worksheets to an excel file.

public void SaveToExcelFile(Stream stream, GridSaveOptions saveOptions)
ParameterTypeDescription
streamStreamThe stream to write to.
saveOptionsGridSaveOptionsThe save options.

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