CrystalReport on .Net 2.0 C# web project

J

Jason Huang

Hi,

I created a new Crystal Report on my .Net 2.0 C# web project.
However, I have encountered trouble in the Database Expert from the default
Crystal Report editor in the .Net.
That is in my project I have a DataSet MyDS, but I found no data columns in
the ADO.Net Dataset from the Database Expert.
So, actually I can't use anything from the MyDS.xsd.
What do I need to do so that the Crystal Report can use the MyDS.xsd in the
App_Code for my web project?
Thanks for help.


Jason
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

Jason Huang said:
Hi,

I created a new Crystal Report on my .Net 2.0 C# web project.
However, I have encountered trouble in the Database Expert from the
default Crystal Report editor in the .Net.
That is in my project I have a DataSet MyDS, but I found no data columns
in the ADO.Net Dataset from the Database Expert.
So, actually I can't use anything from the MyDS.xsd.
What do I need to do so that the Crystal Report can use the MyDS.xsd in
the App_Code for my web project?
Thanks for help.

The way I do it is that I create a schema in a file (using
DataSet.WriteXml ) and then use that file as the DB schema of the report.
Later you use REportDocment.SetDataSource( yourdataset) to assign yor
dataset to the report
 

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