G
Guest
if for example i have an xml with 10 childnodes
and i want by random to get 1 of them how do i do that?
my current code that work with is :
<asp:XmlDataSource ID="XmlDataSource1" runat="server"
XPath="MainPage"
DataFile="~/xml/MainPage.xml"></asp:XmlDataSource>
<aspataList ID="FeedList" runat="server" DataSourceID="XmlDataSource1">
<ItemTemplate>
....html page
<a href="<%#XPath("logo/@url")%>">xxx</a>
</ItemTemplate>
</aspataList>
is this possible?
thnaks i nadvance
peleg
and i want by random to get 1 of them how do i do that?
my current code that work with is :
<asp:XmlDataSource ID="XmlDataSource1" runat="server"
XPath="MainPage"
DataFile="~/xml/MainPage.xml"></asp:XmlDataSource>
<aspataList ID="FeedList" runat="server" DataSourceID="XmlDataSource1">
<ItemTemplate>
....html page
<a href="<%#XPath("logo/@url")%>">xxx</a>
</ItemTemplate>
</aspataList>
is this possible?
thnaks i nadvance
peleg