How do to put Schema ( XSD FILE) in datasource to make the rapport designer and fill this report with a XML FILE.
Is it PossIble ? : I Make that with CristalReport and microsoft reporting .
Or how work with XML FILE
Thank you Anthride
Hi Anthride,
You can achieve that with NA Reporting in two ways:
- Use a .NET DataSet. If you create an XSD for a DataSet you can then use the ObjectDataSource to bind to it.
- Generate .NET classes that you can use to deserialize the XML using XSD.EXE and use the ObjectDataSource to define the report structure.
Regards,
Andres
Thank you
But I Cannot use my XSD File in the ObjectDataSource. How do ?
To Morow , i continue to test : with class and with Edmx. I Thing that is the solution
Cordialement Anthride
Hi,
No, you cannot use the XSD directly. You need have some kind of class that loads it (could be a plain .NET class or a dataset) and use the ObjectDataSource pointing to it.
You can use Entity Framework models (EDMX) with ObjectDataSource too.