This is a migrated thread and some comments may be shown as answers.

Unable to display hierarchical collections In report.

0 Answers 67 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
divyalok
Top achievements
Rank 1
divyalok asked on 11 Oct 2012, 12:47 PM
Hi Champs,

Hi,

I am also facing same problem to display hierarchical collections. My object is like below.

Class QuestionScenario
{
public string Name{get;set;}


private ModelVersion _modelVersion;
public virtual ModelVersion ModelVersion 

   get
   {
       return this._modelVersion;
   }
   set
   {
       this._modelVersion = value;
   }
}


private IList<Answer> _answers = new List<Answer>();
public virtual IList<Answer> Answers 

   get
   {
       return this._answers;
   }
}

}

public partial class ModelVersion
{
private Guid _modelVersionID;
public virtual Guid ModelVersionID 

   get
   {
       return this._modelVersionID;
   }
   set
   {
       this._modelVersionID = value;
   }
}


private IList<Question> _questions = new List<Question>();
public virtual IList<Question> Questions 

   get
   {
       return this._questions;
   }
}
}


Again question class has some property.

Now i want to display name from class QuestionScenario
and QuestionText from QuestionClass. i.e inside the modelversion class on My report page. 

If possible please give a sample.

Thanks in Advance.
DS

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
divyalok
Top achievements
Rank 1
Share this question
or