?
Solved

Datagridview showing data from related table

Posted on 2013-01-18
2
Medium Priority
?
432 Views
Last Modified: 2013-01-21
Hello,

I have a datagridview showing information from a dataset table.  

The table the datagrid relates to is related to another table in my dataset.  Please could someone explain how I can show column data from the related row in the other table.

In my example I have a table OrderItems ( which is the current source of the datagrid ).  This is related to the table Orders where OrderItems.OrderID is linked to Orders.ID.

I need the datagridview to include the ability for some of the columns in the OrderItems table to be editable.

From what I can see the dataset wizard can only configure the INSERT, UPDATE and DELETE commands for a single table.  Is this correct?  

Thanks
0
Comment
Question by:Petermcg001
[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 83

Accepted Solution

by:
CodeCruiser earned 2000 total points
ID: 38795058
0
 
LVL 1

Author Comment

by:Petermcg001
ID: 38800876
Thanks
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

777 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