DataSetToWorkbook Method (source)

Yogesh.ExcelXml

A Sandcastle Documented Class Library DataSetToWorkbook Method (source)
NamespacesYogesh.ExcelXmlExcelXmlWorkbookDataSetToWorkbook(DataSet)
Converts a dataset to a work book
Declaration Syntax
C# Visual Basic Visual C++
public static ExcelXmlWorkbook DataSetToWorkbook(
	DataSet source
)
Public Shared Function DataSetToWorkbook ( _
	source As DataSet _
) As ExcelXmlWorkbook
public:
static ExcelXmlWorkbook^ DataSetToWorkbook(
	DataSet^ source
)
Parameters
source (DataSet)
The source dataset to convert to a work book
Return Value
Returns the ExcelXmlWorkbook for the dataset.
Remarks
All the tables are converted into sheets with sheet names as table + table number, eg. "Table0" "Table1" etc. Supported types which can be successfully converted to cells are the same as described in Cell except Cell and Formula

Assembly: Yogesh.ExcelXml (Module: Yogesh.ExcelXml) Version: 2.89.501.2158