Click or drag to resize

csvFileExtensionstoCsvFileFromTable Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Saves content of DataTable to CSV file on supplied path

Namespace:  imbSCI.DataComplex.extensions.data.formats
Assembly:  imbSCI.DataComplex (in imbSCI.DataComplex.dll) Version: 0.3.70.
Syntax
C#
public static bool toCsvFileFromTable(
	this DataTable table,
	string path,
	getWritableFileMode mode = getWritableFileMode.overwrite,
	string separator = ",",
	string newlineSeparator = ""
)
Request Example View Source

Parameters

table
Type: System.DataDataTable
path
Type: SystemString
mode (Optional)
Type: imbSCI.Data.enumsgetWritableFileMode
separator (Optional)
Type: SystemString
newlineSeparator (Optional)
Type: SystemString

Return Value

Type: Boolean

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