Quick&Dirty RSS

Girovagando qui e la mi sono imbattuto nel più devastante snippet che abbia mai visto per visualizzare RSS:

' Create the Dataset
DataSet ds = new DataSet();
ds.ReadXml("http://www.startupskills.com//index.xml",XmlReadMode.Auto);

'Put it in a datagrid
DataGrid1.DataSource=ds.Tables[2];
DataGrid1.DataBind();

In pratica due righe di codice per visualizzare un RSS... Mi piace ;)

posted @ martedì 14 dicembre 2004 13:14

Print
Comments have been closed on this topic.