Home > Net >  WPF with dev gridcontrol, nested list from the table does not display the data?
WPF with dev gridcontrol, nested list from the table does not display the data?

Time:05-25

I use a nested inside the list from the table list, but from the table, according to data breakpoints to view a list of data is some, but there is no data from the table, is bound to be the problem? Have bosses to see where is wrong?

CodePudding user response:




& lt;/DXG: GridControl. TotalSummary>






UseAnimationWhenExpanding="true"
ShowColumnHeaders="True"
AllowFixedColumnMenu="true"
UseLegacyFilterPanel="False"
ShowTotalSummary="True"/& gt;







UseAnimationWhenExpanding="true"
ShowColumnHeaders="True"
AllowFixedColumnMenu="true"
UseLegacyFilterPanel="False"
ShowTotalSummary="True"/& gt;







CodePudding user response:

PartsList=machiningManager. GetAllParts (). The Result;
If (partsList. Count & gt; 0)
{
for (int i=0; I & lt; PartsList. Count; I++)
{
The processList=machiningManager. GetAllWorkProcessByPartNo (partsList [I] chartno). The Result;
PartsList [I] wplist=new ListIf (the processList. Count & gt; 0)
{
For (int j=0; J & lt; The processList. Count; J++)
{

WorksequenceList=machiningManager. GetAllWorkSequenceByProcessSNID (the processList [j]. J process_snid). The Result;
The processList [j] wslist=new ListIf (worksequenceList. Count & gt; 0)
{
For (int n=0; N & lt; nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  •  Tags:  
  • C#
  • Related