Solved

VB.net SQL Update tables based on joined query

Posted on 2014-10-12
2
103 Views
Last Modified: 2014-10-17
Hi
I have a SQL query where I have joined the Customers, Orders, and [Order Details] tables below. This is shown in a DataGridView. I want the users to be able to choose a line and update the data to something else. How would I approach this?

SELECT c.[Company], c.[Last Name], c.[First Name], b.[Quantity], b.[Unit Price], a.[Ship Name], a.[Ship Address] FROM [Orders] a LEFT JOIN [Order Details] b ON (a.[Order ID] = b.[Order ID]),[Customers] c LEFT JOIN [Orders] d ON (c.[ID] = d.[Customer ID])
0
Comment
Question by:murbro
2 Comments
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 40376442
0
 

Author Closing Comment

by:murbro
ID: 40387978
Thanks
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now