Hello, I’d like to write a datatable to a text file, and is using Output Data Table.
But I need to output it without the table header.
Is there any way to do it, or to go around it?
(I want to avoid using loop if possible, as the data now is very big).
The normal Output DataTable:
“ColumnName1,ColumnName2
A1, B1
A2, B2”
Thank you @Ignacio_Insua_Feito, it worked well!
If anyone came across to this post in the future, please add one more ) so the code should be:
String.Join(Environment.NewLine, yourDataTable.Rows.Cast(of DataRow).Select(Function(row) String.Join(“,”,row.itemArray)))