FreeriderUK
Well-known member
I want to be able to fill a dataset with information from two tables (Customers & Orders)
This dataset then fills a datagridview which will show order details (from Orders Table), along with the customer name (from Customer Table) - This I can do.
I also have another Dataset which contains the Orders Table only.
I *thought* the most efficient way of doing this was to create TWO DataSources - CustomersAndOrders and OrdersOnly
The second query in the TA for CustomersAndOrders uses an INNER JOIN.
I can’t seem to be able to UPDATE any changes made to the CustomersAndOrders DataSource (which I assume is because of the lack of UPDATE command generated).
Is there a better way of doing what I want? (assuming anyone understands me...)
This dataset then fills a datagridview which will show order details (from Orders Table), along with the customer name (from Customer Table) - This I can do.
I also have another Dataset which contains the Orders Table only.
I *thought* the most efficient way of doing this was to create TWO DataSources - CustomersAndOrders and OrdersOnly
The second query in the TA for CustomersAndOrders uses an INNER JOIN.
I can’t seem to be able to UPDATE any changes made to the CustomersAndOrders DataSource (which I assume is because of the lack of UPDATE command generated).
Is there a better way of doing what I want? (assuming anyone understands me...)