Hi, I want to post my 5 recent twitters on my website. I've build a datagrid with XMLTextReader in C# which reads the feed but the problem I face is that it shows ALL the feeds and I can't find a way to only show 5. Any idea's?
XmlTextReader reader = new XmlTextReader("http://some.rss/feed.rss");
DataSet ds = new DataSet();
ds.ReadXml(reader);
dg.DataSource = ds.Tables[2];
dg.AutoGenerateColumns = false;
dg.AllowPaging = false;
dg.DataBind();