Click here to Skip to main content
12,506,733 members (57,749 online)


Questionbind multiple XMLDataSource to one Repeater Pin
jrahma15-Nov-12 3:19
memberjrahma15-Nov-12 3:19 

I am using this code to bind news to the repeater using XMLDataSource. I want to ask, is it possible to have multiple XMLDataSources bineded to the same repeater so it will have xmlNews1, xmlNews2, xmlNews3, etc?

<asp:XmlDataSource ID="xmlNews" runat="server" XPath="/rss/channel/item/." DataFile=""></asp:XmlDataSource>
<asp:Repeater ID="repeaterNews" runat="server" DataSourceID="xmlNews">
    <a href='<%#XPath("link")%>' target="_blank"><%#XPath("title")%></a>

AnswerRe: bind multiple XMLDataSource to one Repeater Pin
Anurag Gandhi15-Nov-12 21:20
memberAnurag Gandhi15-Nov-12 21:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Advertise | Privacy | Mobile
Web01 | 2.8.160927.1 | Last Updated 27 Sep 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid