ExcelExporterExport(DataSet, String, Boolean) Method |
Exports the passed in DataSet to the supplied path.
If there is already a file in the supplied path, appendToExistingXlsFile will determine whether to overwrite or append to the existing file (only applicable for Xls format).
Namespace: Demo3D.UtilitiesAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic static void Export(
DataSet dataSet,
string pathName,
bool appendToExistingXlsFile
)
Parameters
- dataSet DataSet
- The DataSet to export.
- pathName String
- The exported file path.
- appendToExistingXlsFile Boolean
-
If appendToExistingXlsFile is true and the pathName is in Xls format, pre-existing worksheets in the file will be unchanged (except for the newly added tables from the DataSet).
Pre-existing worksheets will be overwritten in the case where they have the same name as a table being exported from the DataSet.
If appendToExistingXlsFile is false or the pathName is not in Xls format, the existing file will be overwritten.
See Also