+4  A: 

Have you tried using

string s = System.IO.File.ReadAllText( path );

File.ReadAllText Method (String)

EDIT to comment

To itterate the files in a directory you can try using Directory.GetFiles Method (String)

foreach (string filename in Directory.GetFiles(path))
{
    //do what you need here
}
astander
Rad up on the class System.IO.Directory.
Jonathan Allen
I have not worked with **agilityPack** before, but I would personally not try parsing html with regex... http://www.codinghorror.com/blog/2009/11/parsing-html-the-cthulhu-way.html
astander
http://stackoverflow.com/questions/100358/looking-for-c-html-parser
astander
So there is no difference that we want to parse the html text or html table content in bot case we can use same parser ?
Harikrishna
@astander Sir..System.IO.File.ReadAllText(path) can read all the html file but there is one file which I have it is not read through this function.What is the reason can be there ? And for that what can be the solution ?
Harikrishna