Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / June 2007

Tip: Looking for answers? Try searching our database.

The ObjectDataSource

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark - 19 Jun 2007 22:38 GMT
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?
MasterGaurav (www.edujini-labs.com) - 20 Jun 2007 03:36 GMT
> 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" :-)

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.