Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
180
ChildBand on UltraGrid using EntityFramework
posted

Hi,

I am evaluating the suit and how it works with EF and i am stuck with something.

I have an entity named Person with a property HomeAddress that links another entity named Address in a 0..1 relation.

What i want to do is to show the address in a child band of the grid, is it possible?

I tried with the designer but cant make it work, also tried to set de data in the AfterRowInsert event but can't see how to add a row to the childband programatically.

Any way to do this?

Parents
No Data
Reply
  • 317
    posted

    If Person has a list of Addresses instead of a single one, the addresses will show up in the grid as a child band to Person.  In your case just have list with one address.

Children