I need to iterate each row, add items to a dictionary, do some sorting and then spit out the results into a data table I need to create on the fly via script.
I can't access this article any more, does anyone have the code to do something similar to this at all?
Thanks
Worked it out with some help.
You have to create a .Net DataSet and DataTable, add rows in memory, process the table and create a tab separated string from the data, then use a Stream to create a Spotfire TextDataSource...then you can create a data table in Spotfire using the in memory text data source (rather than a physical text file).
There is other stuff in this code related to the problem I was trying to solve, but it may be useful to other people.
Instead of
I used
it was a great increase in performance.