Reading the contents of a web page is so easy in .net Try the below code and see the O/P.
WebRequest req = WebRequest.Create("http://www.hcl.in");
WebResponse res = req.GetResponse();
StreamReader sr = new StreamReader(res.GetResponseStream());
string html = sr.ReadToEnd();
Tuesday, December 2, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment