User-1287354701 posted
I'm am having an issue having a column show up in GridView. I have two Access tables, Customers and Contacts. The Customers table has a primary key of CustomerID, as well as having all the customer information. The Contacts table has a
primary key of ContactID, a foreign key of CustomerID with a relationship set up between these two tables, as well as the rest of the contact's information. In the GridView, I'd like to show the contact details, but I would also like to show CustomerName
(a value in the Customer table). I've created a dataset with these two tables and I've added a query with the inner join included under the ContactsTableAdapter. When I execute this query in the query builder, it looks like it works great.
When I attempt to use this as an object data source for the gridview, all I get are the columns from the Clients table. Any ideas? I'm a little new to ASP.NET, so I may have missed something simple.