How to write a data into csv file colmn by column
Unsolved
General and Desktop
-
Hello All,
how to write data to multiple columns in CSV file. i want write some data in Columns . how to write?
I have used QTextstream.
I can able to write a data up to 2 columns. however its printing continuously CPU2,CPU3 data(Red Colour) .
Actual output should be column by column (Green color)Kindly suggest me how to write date in multiple columns
Regards,
Swapna -
@swapna-v
There isn't much to say. Build each line output as comma-separated values from the columns.in a loop. No reason for it to stop at 2 columns, and nobody can say why you say "printing continuously". Your output seems to show you are saving columns as multiple lines. You don't show your produced CSV file, you don't show the code you write.