lorena
Centurion
I am trying to bind one of two queries to a DataGridView on my windows form. The query pulls in information from two tables (these tables have a master/detail relationship) and I cannot figure out how to make it work.
The query will pull in several fields from the master record and several fields from the first associated detail record.
Everything I have found is set up for a master/detail situation with the datagridview populated with all the detail records associated with the record from the parent table.
I created the query I need and made it part of the dataset but when I try to use that query to bind to the datagridview, it is not one of the choices listed.
I hope this is making sense.
I am sure there is a way to do this and would appreciate any help.
The query will pull in several fields from the master record and several fields from the first associated detail record.
Everything I have found is set up for a master/detail situation with the datagridview populated with all the detail records associated with the record from the parent table.
I created the query I need and made it part of the dataset but when I try to use that query to bind to the datagridview, it is not one of the choices listed.
I hope this is making sense.
I am sure there is a way to do this and would appreciate any help.