How to get a foreign key lookup value in datagridview
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Say I have two DataTables in a dataset, Product and ProductType. Product has a column id that is a foreignkey in the ProductType table. I setup a datarelation between the two datatables, now how can I display all of the records from the Product datatable and the ProductType datatable in one datagridview? I've found lots of examples of setting up a master/slave relationship with two seperate datagridviews, but none with just using one. Thanks, David