I'm struggling on this on and would appreciate any help I can get.
I have a huge text file which has about 4000 records. If I open the text file using Programmers File editor I can see that there are page breaks ( chr(12)) between each record.
What I need to do is read the data record by record into
Each Record has 33 lines
BLOGGS
Joe MY AREA
901 H60WW 2010
MyCoM 100410
LP 60 92 52 A 00 00 0000 M
My Company
My Street
London
W1P 7RP
BR
Dr J Smith
My Area
My Lane
Bromley BR7 3YZ
so far this is all I have and i am in deperate need for some help
private void readFile()
{
string line;
int counter =0;
TextReader tr = new StreamReader(@"C:\Shared\P60s.lis");
while ((line = tr.ReadLine()) != null)
{
foreach (var li in line)
{
}
}
tr.Close();
}