Sunday 9 October 2016

Read html file from project folder

To read html from a file, first create a html file with some html in your project.






Write following code to read contents of a html file.



      System.IO.File.ReadAllText("http://www.yourdomain.com/3c-report-details.html");


No comments :

Post a Comment