I have an ASP.Net news reader where I syndicate news items from different sites. In my current app I am just streaming the XML and using a XSL file to format the look of the feed.
As an alternative I want to pull the RSS files and parse them with a datagrid like this. The problem I am having is that I don't know how to remove columns I don't want in the grid specificaly the redundant title and the channel id.
Here is the datagrid (without formatting):
Any ideas?Code:<asp:DataGrid id="rss" runat="server"> <Columns> <asp:TemplateColumn HeaderText="New Items"> <ItemTemplate> <a href="<%# DataBinder.Eval(Container.DataItem, "link")%>"> <%# DataBinder.Eval(Container.DataItem, "title") %></a> </ItemTemplate> </asp:TemplateColumn> </Columns> </asp:DataGrid>




Reply With Quote