private static HttpWebRequest _request; private static HttpWebResponse response; StreamReader strreader = null; _request = (HttpWebRequest)WebRequest.Create("http://www.dealsandyou.com/catalog /product/citysitedeal/productId/8060"); response = (HttpWebResponse)_request.GetResponse(); //create a streamreader object from the response strreader = new StreamReader(response.GetResponseStream()); //reading data in string. This string always give data of other cities string strdata = strreader.ReadToEnd();
HTTP headers
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)