Click or drag to resize
Accord.NET (logo)

CsvWriterWriteHeaders Method (DataTable)

Writes the column names of a data table as the headers of the CSV file.

Namespace:  Accord.IO
Assembly:  Accord.IO (in Accord.IO.dll) Version: 3.8.0
Syntax
public void WriteHeaders(
	DataTable table
)
Request Example View Source

Parameters

table
Type: System.DataDataTable
A DataTable whose columns names will be written as headers.
See Also