XML and Crystal Report .NET

L

LL

I am looking for online Crystal Report articles or VB samples to accomplish
the following scenario.

(In .NET Windows application)
1) User downloads an Xml document to local computer.
2) When Preview button is clicked, Crystal report will format the Xml
document into reports and display them to the user.

Thanks for your help.

LL
 
B

Brian Bischof

You have to know the format that the XML will be in prior to creating the
report. Build a dataset using this schema and build the report using this
schema. When you run the program load the XML into a dataset and assign the
dataset to the report.

The sample code is in Chapter 14 of my free ebook.

HTH,
Brian Bischof

A Crystal Reports.NET book for programmers? Its free!
* Covers ASP.NET and Windows Forms
* Teaches all phases of report development
* Alerts you to the bugs and how to get around them
* Maps out the complex ReportDocument object model
* Shows how to perform runtime customization
* Demonstrates all options of connecting with ADO.NET
* Gives complete code listings for every concept presented

http://www.123aspx.com/redir.aspx?res=30160
 
P

Peter van der Goes

Brian Bischof said:
You have to know the format that the XML will be in prior to creating the
report. Build a dataset using this schema and build the report using this
schema. When you run the program load the XML into a dataset and assign the
dataset to the report.

The sample code is in Chapter 14 of my free ebook.

HTH,
Brian Bischof

A Crystal Reports.NET book for programmers? Its free!
* Covers ASP.NET and Windows Forms
* Teaches all phases of report development
* Alerts you to the bugs and how to get around them
* Maps out the complex ReportDocument object model
* Shows how to perform runtime customization
* Demonstrates all options of connecting with ADO.NET
* Gives complete code listings for every concept presented

http://www.123aspx.com/redir.aspx?res=30160
Cool!
Thanks for the info and link to your book, Brian.
Hope you don't mind if I share it with my students.
 
B

Brian Bischof

Glad you find it helpful! Please pass on the information to your students.
And make sure to give them the link to the site so they can come back
whenever they need to.

Brian Bischof

A Crystal Reports.NET book for programmers? Its free!
* Covers ASP.NET and Windows Forms
* Teaches all phases of report development
* Alerts you to the bugs and how to get around them
* Maps out the complex ReportDocument object model
* Shows how to perform runtime customization
* Demonstrates all options of connecting with ADO.NET
* Gives complete code listings for every concept presented

http://www.123aspx.com/redir.aspx?res=30160
 
B

BVM

Thanks, Brian. It's is a very useful book. I like it.

Dennis


Brian Bischof said:
Glad you find it helpful! Please pass on the information to your students.
And make sure to give them the link to the site so they can come back
whenever they need to.

Brian Bischof

A Crystal Reports.NET book for programmers? Its free!
* Covers ASP.NET and Windows Forms
* Teaches all phases of report development
* Alerts you to the bugs and how to get around them
* Maps out the complex ReportDocument object model
* Shows how to perform runtime customization
* Demonstrates all options of connecting with ADO.NET
* Gives complete code listings for every concept presented

http://www.123aspx.com/redir.aspx?res=30160
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top