TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
srod srod
NA
14
8.4k
Need to replace a line in an Array list
Jan 27 2012 9:42 PM
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
Reply
Answers (
13
)
Read excel file and write to a jagged array?
Dynamic array