you can do this by simply declaring a public string (say strFileContents ) and then replace:
Code:
line = srcFile.readLine();
Code:
strFileContents += srcFile.readLine()+"\r\n";
line = srcFile.readLine();
strFileContents += srcFile.readLine()+"\r\n";
Leave a comment: