2
Good afternoon,
I’m starting to develop reports using Reportviewer for Desktop applications using Windowsforms (C#).
I’m having problems with objects composed by 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 Product List, the Product Object List with their respective groups are filled in, but I get #Error when trying to place the Group (which in a datagridview would be Gsis.Model.Group) or when I try an expression like =Fields! Group.Value.Descricao
What I am saying can be better understood in the image below:
I’m using Visual Studio Community 2015 on Windows 10.
Grateful for the help,
Marcos Gerene