Public Overloads Function DataTableToCsvString( _ ByVal table As DataTable, _ ByVal columnNameOrder As List(Of String) _ ) As String
Dim instance As CsvWriter Dim table As DataTable Dim columnNameOrder As List(Of String) Dim value As String value = instance.DataTableToCsvString(table, columnNameOrder)
public string DataTableToCsvString( DataTable table, List<string> columnNameOrder )
public: String^ DataTableToCsvString( DataTable^ table, List<String^>^ columnNameOrder )
Parameters
- table
- The table to output
- columnNameOrder
- The column names in order to output
Return Value
CSV String