Solved

VB.net SQL Update tables based on joined query

Posted on 2014-10-12
2
108 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 143

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

856 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