Posted on: 6/12/2013 7:46:38 AM | Views : 341

I am using the following code which give me issue for more of sites,(works for some site)
WebRequest req = WebRequest.Create("url"); StreamReader sr =new StreamReader(req.GetResponse().GetResponseStream()); System.Text.StringBuilder sb = new System.Text.StringBuilder(); string strLine; while ((strLine = sr.ReadLine()) != null) { // Ignore blank lines if (strLine.Length > 0) sb.Append(strLine); } sr.Close(); lbl.Text= sb.ToString(); ...

Go to the complete details ...