I'm trying to parse the following XML string that is being returned from a service.
DataReference.USZipSoapClient blah = new DataReference.USZipSoapClient("USZipSoap");
var results = blah.GetInfoByCity(tbCityName.Text).OuterXml;
returns the following
<NewDataSet xmlns=""><Table><CITY>Marana</CITY><STATE>AZ</STATE><ZIP>85653</ZIP><AREA_CODE>520</AREA_CODE><TIME_ZONE>M</TIME_ZONE></Table></NewDataSet>
I'm having no luck parsing the data:
I just want to display the results like City = Marana, State = AZ etc.
System.Xml.Linq.XDocument.