12-02-19 07:52 PM
12-02-19 08:48 PM
I would have sworn one of the default utility object had a basic action for this, but I'm not finding it. Below is the version I wrote to accept custom delimiters using c#.
Inputs:
Collection - Collection
Delimiter - Text
Target - Text
StringBuilder sb = new StringBuilder(); string[] columnNames = Collection.Columns.Cast().Select(column => column.ColumnName).ToArray(); sb.AppendLine(string.Join(Delimiter, columnNames)); foreach (DataRow row in Collection.Rows) { string[] fields = row.ItemArray.Select(field => field.ToString()).ToArray(); sb.AppendLine(string.Join(Delimiter, fields)); } File.WriteAllText(Target, sb.ToString());
12-02-19 10:52 PM
13-02-19 12:29 AM
13-02-19 02:08 AM
14-02-19 01:08 AM
03-05-19 04:28 PM
05-05-19 09:36 PM
07-05-19 08:13 PM
08-05-19 01:01 PM