You need to set the DataSource of both the Grid and DetailGrid to the same, and set the DataMember of the DetailGrid to the relationship.
grid.DataSource = dsTables(0)
detail.DataSource = ds.Tables(0)
detail.DataMember = “hello” ‘or whatever the name of the relationship
Imported from legacy forums. Posted by André (had 2867 views)