Hi Ricm,
I still don't see the problem.
But lets take it in a solution way.
When you have an XML dataset as a seperate XML file somewhere, you dont have
to use the streamreader, but in my eyes use dataset1.readXML(filename)
When you get it from a SQL or Access database you use OLEdb or SQL
connection, command and dataadapter.
With the dataadapter you fill the dataset
Then you have a filled dataset.
Then you can become the names with:
Dim myTable As DataTable
Dim myColumn As DataColumn
' For each table in the DataSet, print the ColumnName.
For Each myTable in dataset1.Tables
For Each myColumn in myTable.Columns
Console.WriteLine(myColumn.ColumnName)
Next
Next
After that you have your names, I dont know what you want to do then, but
you can connect to the datasource or do the databindings after that.
I hope it did help something, because fridayevening is not the best time for
me to provide some help, but I discovered I am the weekend most time off.
Cor