> holds a reference, in a collection property, to another collection of BLL
> objects (or even a single object), how do I link the object or collection
> to
> another ODS? I thought the answer was in the use of a ControlParameter but
> cannot see how to do it. Is this possible?
Checkout the property "DataSourceID" :-)

Signature
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujini-labs.com
-----------------------------------------
Mark - 20 Jun 2007 09:56 GMT
Thanks for your reply Gaurav,
I can't see any DataSourceID property of the ObjectDataSource??
Are understanding my question properly?
My question is regarding representation of object relationships with the
ObjectDataSource control. I have a page where there are a number of ODSs
which all have a relationship with each other. But at the moment I am having
to
manually supply the parameters to them in the code behind. It seems strange
there are no properties to enable you declaratively link these controls to
each other through making a reference to an ObjectDataSource property which
may return either a single object or collection itself.
> > holds a reference, in a collection property, to another collection of BLL
> > objects (or even a single object), how do I link the object or collection
[quoted text clipped - 3 lines]
>
> Checkout the property "DataSourceID" :-)