Need to replace a line in an Array list
I have an application that reads and imports HTML credit reports, and every so often the html source changes. I am using StringReader and StreamWriter functions to read the report, and if the line has changed, the StreamWriter replaces the changed line with the line that makes the importer properly function.
I have isolated the issue down to manually removing 1 line in the report source code. When this line is removed the report imports successfully.
The line that makes the importer properly function is:
<div id="container"><div id="content" width="760px"> (DOES WORK)
Recently that line has changed to:
<div id="container"><div id="content"> (DOESNT WORK)
The error message received when importing the DOESNT WORK line is:Object reference not set to an instance of an object.
I have uploaded the section of code that handles the importer click
to import function
Any help would be greatly appreciated.
Thanks