hello all, i am making a page which objective is to consume the following XML and show it on a GRID:
http://ws.cinema.sapo.pt/GetArticlesByTags?Dossier=oscares-2012&Tags=noticia&PageNumber=1
Well this is my code, and i have tryed many ways and doesn't show the values on the DataGrid... Can anyone help me?
namespace XML
{
public class Article
{
public int ID { get; set; }
public string Title { get; set; }
public static List<Article> GetArticles()
{
string url = "http://ws.cinema.sapo.pt/GetArticlesByTags?Dossier=oscares-2012&Tags=noticia&PageNumber=1";
// string url = "http://www.dreamincode.net/forums/xml.php?showuser=1253";
string xml;
DataSet ds = new DataSet();
using (var webClient = new WebClient())
{
xml = webClient.DownloadString(url);
}
XDocument doc = XDocument.P ...
Go to the complete details ...