CrystalReport on .Net 2.0 C# web project

  • Thread starter Thread starter Jason Huang
  • Start date Start date
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
 
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
 
Back
Top