Hello,
I know this has been discussed before but wasn't able to understand how this should be done.
Basically I have the following scenario:
A formview or details view bound to the 'master' data.
A gridview bound to the 'details'.
Let's say master data is Customer and details is CustomerOrders.
In my web page I have created two LLBLGenProDataSource instances as indicated in other threads.
Now, when I land on my webpage to 'edit' a customer, the customer's id is passed on the querystring and I can use this to tell both datasources how to fecth the data they need by configuring the 'select parameters'.
All works fine and I can add rows to the 'details' gridview and they get persisted.
However, if I want to land on my webpage to add a 'new' customer and related orders, things don't really work.
So basically my question is how to link the two datasources together, or how to configure the 'orders' datasource so that it uses Customer.Orders instead of fetching the data by itself using 'select parameters'.
Perhaps the anwer to my question lies in turning LivePersistence off and doing things manually?
I hope I made myself clear.
Simone