Hey guys,
We're trying to encorporate composite objects into our application to group object code off of the code behind for the aspx pages.
What we want to be able to do though is something like this:
objCar creates three objects within itself: objEngine, objHorn, and objRadio
objHorn has a method called Honk.
We want, from the web page, to be able to say
objCar.objHorn.Honk, but without any psudo-wrapper functions withint objCar to do so.
Kinda like how you can go DataSet.Tables().Rows().Items, even though the rows and items are actually part of the Table, not the Dataset.
Any thoughts on this? I've heard that classes need to be declared as Friend, and a few other leads, but there's not alot of documentation from Microsoft.
Thanks gang,
jack
We're trying to encorporate composite objects into our application to group object code off of the code behind for the aspx pages.
What we want to be able to do though is something like this:
objCar creates three objects within itself: objEngine, objHorn, and objRadio
objHorn has a method called Honk.
We want, from the web page, to be able to say
objCar.objHorn.Honk, but without any psudo-wrapper functions withint objCar to do so.
Kinda like how you can go DataSet.Tables().Rows().Items, even though the rows and items are actually part of the Table, not the Dataset.
Any thoughts on this? I've heard that classes need to be declared as Friend, and a few other leads, but there's not alot of documentation from Microsoft.
Thanks gang,
jack