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
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