Answer by Alan for How to read a line of HTML using C#
Your outer loop that reads line works fine. My guess is one of the following is taken place:The HTML file is emptyThe first line in the HTML file is emptyIn either case, you won't see anything printed....
View ArticleAnswer by Gaven for How to read a line of HTML using C#
The best way by far is the use the HTML Agility PackMore about this can be found on a previous Stack overflow QuestionLooking for C# HTML parser
View ArticleAnswer by angularconsulting.au for How to read a line of HTML using C#
You don't need to invent the wheel. Much better way to parse HTML is to use HTML parsers:http://htmlagilitypack.codeplex.com/ or http://www.justagile.com/linq-to-html.aspxAlso similar question is here...
View ArticleAnswer by KK99 for How to read a line of HTML using C#
If you know this HTML you are parsing is of XHTML why not parse this HTML as XML using System.XML ?
View ArticleHow to read a line of HTML using C#
I know how to read a line in a txt file but for some reason C# is not detecting the end of line on HTML files. This code basically opens the html file and tries to parse line by line in search of the...
View Article