Hello guys, I am trying to bind a dataset to the list view. I have included a gridview inside it in order to do that. I try to setup the column headers and the displaymemberbindings at runtime. I get no errors but no data is showing. Any help would be greatly appreciated.

Thanks in advance
Samv12

Code:
  Dim x As New GridViewColumnCollection

                        Dim int As Integer

                        For int = 0 To ds.Tables(0).Columns.Count - 1 Step 1
                            Dim y As New GridViewColumn
                            y.Header = ds.Tables(0).Columns(int).ColumnName
                            y.DisplayMemberBinding = New Binding(ds.Tables(0).Columns(int).ColumnName)
                            x.Add(y)
                        Next

                        GridView.SetColumnCollection(Gridview1, x)
                        results.View = Gridview1

                        results.DataContext = ds.Tables(0).DefaultView