Hello.
My Databases' query is returning two selects. Both resultas are the same dataset.
Obj.RetornarConsultasCustomizadasParaBrowsePorUsuario(this.RetornarCodigoUsuarioLogado(), ref DSPrincipal);
DTPrincipal = DSPrincipal.Tables[0];
DSPrincipal.Relations.Add(new DataRelation("FK_Consulta_Usuario", DSPrincipal.Tables[0].Columns["ccu_consultacustomizada_IN"], DSPrincipal.Tables[1].Columns["ccu_consultacustomizada_IN"]));
The relation is correct and any errors happens.
The grid's data source is DSPrincipal.
The Grid.DisplayLayout.Bands.Cout is 2!!!
But when the applicatino is running the sub grid don't show.
What can I do?
Solved....
The problem was: Grid.DisplayLayout.NewBandLoadStyle