First of all my application is not a web application. My aim is reading html files and modify them.
So that I write this code:
string fileName =
If you are wanting to just change certain things, you could be able to do this with XPath. Using the HTML Agility Pack, you can do this using C#.
http://htmlagilitypack.codeplex.com/