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
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