c# - How to accomplish this binding -
i have following scenarion. have object, lets call x needs set datacontext of combobox.
object x consists of 3 objects.
- propa - object => id, propb_id
- propb - collection of objects => id, propc_id
- propc - collection of objects => id, text
they related each other.
- propa:propb -> n:1
- propb:propc -> n:1
all of ids set , valid, not have references between eachother. there no integrity between them.
so need have combobox items represent collection propb, show "text" propery propc , selected item (propb) set "selectedid" in propa
i have no idea how acompluish this. if have references between eachother no problem, since not, not do.
Comments
Post a Comment