Dim ds As DataSet = New DataSet
ds.ReadXml("http://www.rotoworld.com/rss/feed.aspx?sport=nfl&ftype=news&count=12&format=rss")
DataGridView1.DataSource = ds.Tables("item")
ListBox1.DataSource = ds.Tables("item")
ListBox1.DisplayMember = "title"
ListBox1.ValueMember = "title"
ListBox1.Refresh()
ListBox2.DataSource = ds.Tables("item")
ListBox2.DisplayMember = "description"
ListBox2.ValueMember = "description"
ListBox2.Refresh()
CORRECTION The tables are in the database, not the listbox.

New Topic/Question
Reply



MultiQuote





|