using an xml datasource for crystal report

  • Thread starter Thread starter cti
  • Start date Start date
C

cti

Hi,
I am developping a winform application using C# .Net 2.0 and I have
to
make crystal reports.
I use an XML file as a datasource. Do I have touse a dataset to build
my report or is it
possible to use the XML file directly ( most of the examples of I
found on internet use datasets)
thank you
 
I think you can build it against an xsd schema.

There is a command tool, xsd, that will take (any) xml file and create a xsd
schema for you.

You can develop a CR
against this schema.

Note, this schema isn't necessarily a dataset schema.

I think there's actually a bug with CR, that if you want to develop against
a strongly typed DataSet, you have to use its xsd.

.........

This is a very interesting read as well.

http://home.jondavis.net:880/blog/post/XML-to-C-Code-Generation.aspx
 
Back
Top