I would like to create a data table of size mxn, where m = number of rows and n = number of columns, where every entry is a 1. Is there a simple way to do that?
Additional question: Is there also a way to put any number everywhere? E.g. instead of just 1s just 7s.
done with essential actitivies (for each, add datarow)
LINQ
We would recommend to check also the Default setting from a data column as it can be exploted to set the initial 1 value
V2: EDITED: added Generate DataTable to the options
We can also create dyanmic CSV strings and feed it to Datatable generation by CSV Parsing e.g. with the Generate DataTable Activity
maybe to specify - i have to create many datatables which vary in size every time. sometimes it’s 3x1, then it’s 4x2, then it’s 8x1. The entries are always 1s.
Therefore I can’t always use build DataTable activity since I never know the dimension beforehand.