Chris Johnson

Chris Johnson

  • NA
  • 67
  • 32.2k

Winforms formatting a nested XML to view as a report

Mar 30 2016 1:05 PM
Hi all.
We have XML files sent to us from several customers. The file structure is the same for all of them.
I wish to write a standalone c# program so users can open and view these files. However, I have never played with XML before and the files are pretty big and nested.
Can someone give me a clue with a tutorial or idea which is the best way to go about this?
I have the mdiparent done and I beleive the file>open>Stream is ready and correct. I don't mind if I have to use Crystal reports or even a datagrid. It may be that I need to use a schema file but I have found it all pretty confusing so far (the nested bit). From what I have tried so far I get the error
"The table (Body) cannot be the child table to itself in nested relations."

Can anyone give me a clue?
- 
using (myStream)
                        {
                            //do stuff here
                        }
 
 
Cheers
Chris

Answers (8)