Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VB.net SQL Update tables based on joined query

Posted on 2014-10-12
2
Medium Priority
?
123 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:Murray Brown
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 143

Accepted Solution

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

Author Closing Comment

by:Murray Brown
ID: 40387978
Thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying 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

I have a large data set and a SSIS package. How can I load this file in multi threading?
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

719 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