Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datagrid Help subtable data

Status
Not open for further replies.

mcbigj

Programmer
Joined
Dec 14, 2001
Messages
83
Location
US
Hello,
I was wondering if a datagrid in VB.Net can show subtable data. for example, If I load both the 'Northwind' Customers, and Customer_orders tables into a dataset, and then set the primary keys for both tables in the ds, can I do a datagrid that does some sort of branching, showing the customer data, and then clicking a 'branch' to open the subtable customer_orders data corrosponding to the customer record I've just clicked to open.

This would be very simular to a MS Access table feature. When there is a relationship between two tables, it will have a + sign that can be clicked to show the subtable data.

Any ideas would be appreciated.
Thanks
McDoogle
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top