Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help, parent-child datagrids

Status
Not open for further replies.

jcoira

Programmer
Sep 26, 2001
51
US
Hi,

I have seen several examples of creating parent-child datagrids. Orders and Order Details is a good one. It is very easy to navigate from order to order and display (or even modify) the details in the child grid.

But, what if instead of loading all orders and details when the dialog loads I want to load only one order and its details and allow the user to either edit the loaded order or add a new order and its details?

Is there a way to do that using mainly the designer and writing a minimal amount of code? I've been stuck on this for hours now, I would appreciate any help on this.

I am working with VS 2005 beta and can do the editing fairly easy but just using the "configure master details" option of the data menu. But when the time comes to add a new order it doesn't work.

Thanks,
// jc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top