Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Binding form combo's to different objects of the same type
Versions des environnements
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!
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement