Click here to Skip to main content
15,120,268 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I am getting the following error:
C#
error on line 111 at column 62: AttValue:" or ' expected

Here is my code:

<br />
 <div id="MainContent"><br />
       <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="http://www.gsmarena.com/rss-news-reviews.php3" XPath="rss/channel/item"></asp:XmlDataSource><br />
       <asp:ListView ID="FeedsList" runat="server" DataSourceID="XmlDataSource1"><br />
        <ItemTemplate><br />
            <div><br />
               <%#XPath("title") %><br />
                <hr/><br /><br />
                <%#XPath("description")%><br />
            </div><br />
 </ItemTemplate><br />
 </asp:ListView><br />
Posted
Updated 28-Sep-13 23:20pm
v2
Comments
Sampath Lokuge 29-Sep-13 4:23am
   
Good article about RSS feed.May be helped to you.
http://net.tutsplus.com/tutorials/asp-net/how-to-build-an-rss-feed-with-asp-net/

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900