G
Guest
i am using the XmlDataSource +DataList to get xml
and in the aspx page itself to extract data i do for exmlae:
<%#XPath("LogoBg/text()")%>
what i want to do is :
Dim index As Integer =
XmlDataSource1.GetXmlDocument.SelectNodes("MainPage/ParentsTip").Count
index = rand.Next(index)
parentTipText =
XmlDataSource1.GetXmlDocument.SelectNodes("MainPage/ParentsTip").ItemOf(index).InnerText
which today i do in the ASPX.VB page
and i want it (if possible) to be done in the aspx page itself
is it possible?
thnaks in advance
peleg
and in the aspx page itself to extract data i do for exmlae:
<%#XPath("LogoBg/text()")%>
what i want to do is :
Dim index As Integer =
XmlDataSource1.GetXmlDocument.SelectNodes("MainPage/ParentsTip").Count
index = rand.Next(index)
parentTipText =
XmlDataSource1.GetXmlDocument.SelectNodes("MainPage/ParentsTip").ItemOf(index).InnerText
which today i do in the ASPX.VB page
and i want it (if possible) to be done in the aspx page itself
is it possible?
thnaks in advance
peleg