user2585299
user2585299

Reputation: 883

Binding a custom collection of an entity to crystal report

public class Leads
{
        public int Id { get; set; }
        public string Npi { get; set; }
        public string LegalBusinessName { get; set; }
        public List<Calls> Calls { get; set; }


}

I am trying to bind List<Leads> to crystal report. The crystal report shows me data when I comment the Calls property (which is a collection of another entity called "Calls"). Is it even possible in crystal reports to bind a collection of an entity having another collection property.

Upvotes: 0

Views: 549

Answers (1)

J R B
J R B

Reputation: 2136

You have to create sub-report for another collection. and add this sub-report to your main report.

Upvotes: 1

Related Questions