Author: dearestpankaj | Posted on: 4/1/2010 2:15:58 AM | Views : 264

Hi,
 i have a google map link which returns a xml to me. I want values of a specific tag from that xml. can some one suggest me how will i do it. Link:
http://maps.google.com/maps/api/geocode/xml?address=1270 Broadway Ste 803, New York, NY 10001, USA&sensor=false
 
This is what i have done so far
string sUrl = "http://maps.google.com/maps/api/geocode/xml?address=" + address + "&sensor=false"; XmlTextReader xmlRead; WebRequest wrq; wrq = WebRequest.Create(sUrl); wrq.Proxy = WebProxy.GetDefaultProxy(); wrq.Proxy.Credentials = CredentialCache.DefaultCredentials; xmlRead = new XmlTextReader(wrq.GetResponse().GetResponseStream()); DataSet ds = new DataSet(); ds.ReadXml(xmlRead);
Bu ...

Go to the complete details ...