Last post Sep 13, 2010 06:48 AM by mcbulan
Aug 22, 2010 03:23 PM|mcbulan|LINK
I registered for a service that returns me the geolocation of the visitor and i process it in my exe application (c#).
But i dont know how to read that data in cs?
Here is the link that i send :
and returning page content ;
how can i read this in c#.net windows application?
could you please help me?
Thanks and regards
Aug 23, 2010 10:43 AM|chapmanjw|LINK
Here is a good little tutorial for you:
Aug 23, 2010 10:57 AM|ankur.nigam|LINK
Refer the following link which talks about the same:
Aug 23, 2010 10:04 PM|Decker Dong - MSFT|LINK
If you can really receive the string, just do this:
var result = XDocument.Parse(xml string received here...).Root;
Then you can use TextBox1.Text = result.ToString();
Aug 24, 2010 01:22 AM|hassanmehmood|LINK
Hi you can use XMLDocument class. Once you load your xml in it, it offers you many properties and methods to work with that xml and traverse it the way you want.
Another option is to use Dataset and to use DataSet.ReadXml() method. It'll populate the dataset with the given xml and you can then read anything out of that dataset.
Hope it helps.. Ask me if you want to know more.
Sep 13, 2010 06:48 AM|mcbulan|LINK
doesnt work :(