asp.net mvc - rdlc subreport in mvc3 -


    public class product     {         public string name { get; set; }         public ilist<pdetail> p_details { get; set; }     }     public class pdetail      {         public string detail_name { get; set; }     } 

i have object structure above. want create rdlc report using structure. can use in dataset

    ilist<product> dataset = new list<product>(); 

how can report dataset in report viewer(.rdlc). use mvc.

i'm sorry can't. sql reporting not support nested object lists. searched lot solution problem. , thing came around create report, , inside of sub report pass child list of data. found article explains how that, hope link can hel to.

reporting against domain model

what's possible, , may need in future, use nested object, serializing the classes. can see in blog article how that.

reportviewer - object datasource, nested objects


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -