How to change the loading of the data from project to web server

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
How to change the loading of data to a webserver.I want to load the peoplecustom.xml from by web server http://app.livehub.org/xml/People.xml http://app.livehub.org/xml/People.xml
<pre class="prettyprint XDocument loadedCustomData = XDocument.Load("PeopleCustom.xml");
var filteredData = from c in loadedCustomData.Descendants("Person")
where c.Attribute("Age").Value == "27"
select new Person()
{
FirstName = c.Attribute("FirstName").Value,
LastName = c.Attribute("LastName").Value

};[/code]
<br/>
<hr class="sig Solve your Problems @ http://www.livetut.com/

View the full article
 
Back
Top