Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2017
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. Dim xdoc As New XmlDataSource()
  2. xdoc.DataFile = "http://"
  3. xdoc.XPath = "rss/channel/item"
  4.  
  5. Dim expression1 As XPathExpression = XPathExpression.Compile("//*position() <= 3]")
  6.  
  7. DataList_rssTop.DataSource = expression1
  8. DataList_rssTop.DataBind()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement