|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Databinding problemIf I have 'one category can have many products but one product can only fit into one category', the relationship 'namespace' would be: Categories.CategoriesProducts.ProductFields If I want to navigate through each category & display all products in each category, I would reference the BindingContext object datamember to Categories & set the DataBindings of the control to display the Parent field to: Categories.CategoryField & the DisplayMember of the control to display the child fields to: Categories.CategoriesProducts.ProductField But If I want to navigate via the Products, I would reference the BindingContext object datamember to: Products but then how do I display the category for the current product? I hope this is clear Many thanks in advance Ant |
|||||||||||||||||||||||