The ObjectDataSource

G

Guest

Hi,

I think I may be missing something with the ObjectDataSource control! How do
I link two of these controls together? If I have one ODS collection that
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?
 
M

MasterGaurav \(www.edujini-labs.com\)

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" :)

--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujini-labs.com
-----------------------------------------
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top