Help with RSS feed C#
-
Hello, I am having trouble getting an RSS feed to work on a college project, I am using code based on a tutorial I got from here http://blogs.msdn.com/coding4fun/archive/2006/10/31/912335.aspx When i try to run I am getting an error that looks a bit like this Server Error in '/' Application. -------------------------------------------------------------------------------- Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: The base class includes the field 'rssFeed', but its type (RssList) is not compatible with the type of control (ASP.rsslist_ascx). Source Error: Line 7: Line 8: Line 9: <rss:feedControl ID="rssFeed" runat="server" /> Line 10: Line 11: Source File: /News.aspx Line: 9 Any help with this problem would be fantastic. Cheers, D
-
Hello, I am having trouble getting an RSS feed to work on a college project, I am using code based on a tutorial I got from here http://blogs.msdn.com/coding4fun/archive/2006/10/31/912335.aspx When i try to run I am getting an error that looks a bit like this Server Error in '/' Application. -------------------------------------------------------------------------------- Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: The base class includes the field 'rssFeed', but its type (RssList) is not compatible with the type of control (ASP.rsslist_ascx). Source Error: Line 7: Line 8: Line 9: <rss:feedControl ID="rssFeed" runat="server" /> Line 10: Line 11: Source File: /News.aspx Line: 9 Any help with this problem would be fantastic. Cheers, D
they have used UserControl. u just try without UserControl, the method is very simple. just have a look 1. call the RSS content with its URL. It will return XML 2. Convert XML to dataset 3. Since u got the dataset you know what to do 4. Show That in u r page/ if u want u can store that also for future. 5. If u want to format the resultant XML use XSLT
modified on Friday, February 26, 2010 1:42 AM