I have a datatable like below:
I want to type this into a word document using type into activity and get a format like below:
I am joining all the rows in the datatable using String.Join(System.Environment.NewLine,Product_table.AsEnumerable().Select(Function(a) a.Field(Of String)(“Product ID”)).ToArray())
However, I am getting an output like this:
Please, can anyone help on how I can correctly do this without having to send enter hotkey multiple times? I could have more than 20 rows in the datatable. So, it will be inefficient to send enter key 20 times.
Thanks.