dataset contains two tables
I use a parent child datarow to filter through the tables and find related fields, I am wanting my results to be put into a datagridview. How is this possible?
ds As New DataSet
table1
table2
da.Fill(ds, table1) & da.Fill(ds, table2)
For each parentRow as DataRow in ds.tables(0)
'get data
For Each childRow as DataRow in ds.tables(0)
If ds.tables.rows.item("whahoo") = whahoo then
'do something
'getresults
end if
next
'insert all the data into dataset, spreadsheet,gdataridview??
next
I use a parent child datarow to filter through the tables and find related fields, I am wanting my results to be put into a datagridview. How is this possible?
ds As New DataSet
table1
table2
da.Fill(ds, table1) & da.Fill(ds, table2)
For each parentRow as DataRow in ds.tables(0)
'get data
For Each childRow as DataRow in ds.tables(0)
If ds.tables.rows.item("whahoo") = whahoo then
'do something
'getresults
end if
next
'insert all the data into dataset, spreadsheet,gdataridview??
next