Solved

Datagridview showing data from related table

Posted on 2013-01-18
2
431 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 500 total points
ID: 38795058
0
 
LVL 1

Author Comment

by:Petermcg001
ID: 38800876
Thanks
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

696 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