Click or drag to resize

imbDataTableExtensionsserializeDataTable Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Serializes the data table into choosed format and returns file path

Namespace:  imbSCI.DataComplex.extensions.data.formats
Assembly:  imbSCI.DataComplex (in imbSCI.DataComplex.dll) Version: 0.3.70.
Syntax
C#
public static string serializeDataTable(
	this DataTable source,
	dataTableExportEnum format,
	string filename,
	folderNode directory,
	params Object[] resources
)
Request Example View Source

Parameters

source
Type: System.DataDataTable
The source.
format
Type: imbSCI.Data.enums.reportingdataTableExportEnum
The format.
filename
Type: SystemString
The filename, without extension.
directory
Type: imbSCI.Core.files.foldersfolderNode
The directory to save into.
resources
Type: SystemObject

Return Value

Type: String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataTable. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also