C# Class PBAccelerator.DataTableToCSV

Converts a DataTable to CSV format @Author = Ndubisi Onuora
Mostra file Open project: GFTUSA/GFTInternal

Public Methods

Method Description
XMLToCSV ( System xmlDoc ) : String

Converts an XML file to CSV

dtToCSV ( System dt ) : String

Returns the contents of a DataTable as a CSV file.

Method Details

XMLToCSV() public static method

Converts an XML file to CSV
public static XMLToCSV ( System xmlDoc ) : String
xmlDoc System An XML file
return String

dtToCSV() public static method

Returns the contents of a DataTable as a CSV file.
public static dtToCSV ( System dt ) : String
dt System A particular DataTable
return String