General information
Category:
The Mere Mortals .NET Framework
Title:
Binding form combo's to different objects of the same type
I can't seem to find a way to bind combo's on a form to registered business objects that are of the same type as the primary business object on the form. I have an sql table that has a field on it that is filled in with an id from the same table IE: A location table that has fields for bill to and ship to locations. These fields are locations in themselves and need to have a location id in them. on the location edit form, i register a location object as a primary business object and also another location object as a child. The child's get data function doesn't return near as many fields as the main because it's used to bind a couple combo boxes to(the ones for billto and shipto) When I go to bind the boxes, the only 1 registered object shows in the list. When I pick it, I get the primary business object and everything on the form messes up. How can I bind the child combo's to the same type objects as the primary?
Thanks!
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only