954,541 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how to create crystal report using xml files?

how to create crystal report using xml files???

y2kshane
Light Poster
35 posts since Aug 2010
Reputation Points: 8
Solved Threads: 0
 

Your question is lacking the details to give you a good solid answer.

If your xml is well structured data and you have a crystal report that you need to feed data in to, then I would read the XML into a datatable or dataset (whichever is appropriate) and pass that to the crystal report to consume.

Something like this:

Dim DT as datatable
dt.readXML(filename)

'Not sure of the CR syntax here
Report.datasource = dt
report.run

CodeWord
Junior Poster in Training
63 posts since Feb 2011
Reputation Points: 16
Solved Threads: 13
 

The most poweful feature of ADO.NET is it's ability to convert stored data stored in data source to XML. Data provides methods WriteXML,ReadXml,and GetXml which enables developers to create XML documents from data sources and convert data from XML into data sources.Maybe that piece of information will help you out a bit....

Denni_Mwebia
Newbie Poster
5 posts since Jan 2011
Reputation Points: 10
Solved Threads: 0
 

Hi,

You can find an example, here.
To use this you need to have a VS version that installed the Crystal Report template.

Luc001
Posting Whiz
376 posts since Mar 2010
Reputation Points: 85
Solved Threads: 98
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: