Solved

Datagridview showing data from related table

Posted on 2013-01-18
2
416 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
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 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

19 Experts available now in Live!

Get 1:1 Help Now