How to print certain rows to a text file from DT or/and excel?


#1

Hi

I have a DT that has 2 columns, 1st with time values and 2nd with temperature values.
The data is scraped from a website and changes through out the day.

I need to be able to print rows containing both(time, temperature) from first “00” value until the next following “21” value to txt file.

What’s the best approach?

Thanks
J


#2

Please provide a screen shot.

I cant understand whether u need to get values from “00” to “21” or some other variables


#3

For each row in datatable

        write line (or log)  -  row("Time").ToString + " " + row("Temperature").ToString

Next

Alternatively create a third column but that’s a little harder. Depends what you need to do with this information

RD