Question Loading HTML File into String Variable

TBossAZ

Active member
Joined
Mar 31, 2009
Messages
43
Programming Experience
5-10
Hello everyone,

I am writing a web application that will allow a user to upload a saved HTML file. The application will "parse" the data in the uploaded HTML file to update a database table.

The approach I want to take is to load all of the contents of the HTML file into a string variable, via the ReadToEnd method of a StreamReader.

For small files (approx 300 kb) this appears to work fine. At what point does the file become too large for me to process? Are there any size limits I need to be made aware of?

If anybody has any experience in this area, I would like to hear from you. Your help would be greatly appreciarted.
 
Back
Top