I am trying to achieve a situation where i load a file into the program.
I can use streamreader for this.
Each record will be 7 lines long.
Therefore lines 1,8,15,22,etc will all hold the same value.
As will 2,9,16,23, etc and so on.
What is the best way to achieve this? So that when i load the records in the listview, it recognises what i just said.
Thanks
When you say that lines 1, 8, 15 etc will all hold the same value, do you actually mean that they hold the same type of value? Otherwise, why read in more than the first 7 lines?
I think something like the below might work (not tested the code).