Click here to Skip to main content
15,922,584 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I read HTML file and display it in the datagridview using c#?

In a textbox, I have given font size as 5, so that it should read all the contents that are in the size="5" and display it in datagridview during buttonclick event..

Help me..
Posted
Updated 13-Dec-11 1:39am
v2

1 solution

My advice is that you use the HtmlAgilityPack library to parse the HTML. As for the actual parsing, I think you're just going to have to muscle through it and learn how to use the HTMLAgilityPack in order to accomplish your task.

HtmlAgilityPack[^]

You can find examples and forums discussing this library with a simple google search.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900