Hi, I was looking the web for info on this but couldn't get it working. I got as far as below
<asp:DataList ID="DataList1" runat="server" style="border:1px solid; border-color:#68affd;"></asp:DataList>
Codebehind: I've removed a bit of the code to just show the loading.
Private Sub LoadXML()
Dim Items As New Data.DataSet()
'creating the PagedDataSource instance....
Dim pg As New PagedDataSource()
Dim dv As New Data.DataView(Items.Tables(0))
pg.DataSource = dv
pg.AllowPaging = True
pg.PageSize = 1
pg.CurrentPageIndex = 0
'pg.CurrentPageIndex = CurrentIndex
lblIndex.Text = "Page: " + (CurrentIndex + 1).ToString() + " of " + pg.PageCount.ToString()
'Button1.Enabled = Not pg.IsFirstPage
'Button2.Enabled = Not pg.IsLastPage
'Binding pg to datalist
DataList1.DataSource = pg 'dl is datalist
The problem that I'm having there is that nothing is returned at all even though the xml page does have data on it. What am I doing wrong there do you know?