Good afternoon,
I'm starting to develop reports using ReportViewer for Desktop applications using WindowsForms (C #).
I'm having problems with objects made up of others, for example:
class Produto
{
public int Codigo { get; set; }
public string Nome { get; set; }
public Grupo Grupo { get; set; }
}
class Grupo
{
public int Codigo { get; set; }
public string Nome { get; set; }
}
My data source for the report is a List of Products, the List of the product object with their respective groups are filled, but I get #Error when trying to put the Group (which in a datagridview would be Gsis .Model.Group) or when I try an expression of type = Fields! Group.Value.Description
What I am saying may be better understood in the image below:
I'm using Visual Studio Community 2015 on Windows 10.
Thanks for the help,
Marcos Gerene