Given lists of values - e.g., `set_a` and `set_b` - in the example below, goal is to create a DataTable
in .dxp.
set_a = [1, 2, 3, 4]
set_b = [5, 6, 7, 8]
The DataSource
Class is created by (1) generating a tab-delimited string, (2) passing it into StreamWriter
, and (3) converting it to a DataSource
via TextFileDataSource
method.
Implement a method/Class that avoids steps (1) and (2), and convert a set of lists (of values) or DataTable
Columns
Class directly into a DataSource.