Connection on Crystal report

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I made a report with the crystal report version included on .NET 2003. I associated some report's fields to a database. When i execute the report preview, the report ask me to write the userid, and the password to the database.
I don't want that the program ask me the userid etc. How can I avoid this?

Thank you
Alessandro.
 
You could instead specify the datasource of the crystal report to be a
strongly typed dataset xsd file, and set the crystal report datasource as an
instance of that dataset.

Crystal is not the best or atleast my first choice for reports. I would
recommend that you look at datadynamics.com -> Activereports for .NET.

- Sahil Malik
Independent Consultant
You can reach me thru my blog at -
http://www.dotnetjunkies.com/weblog/sahilmalik/



Alessandro Rossi said:
I made a report with the crystal report version included on .NET 2003. I
associated some report's fields to a database. When i execute the report
preview, the report ask me to write the userid, and the password to the
database.
 
You can generate the fields in the crystal report either programmatically or
an XSD schema, and then bind it with the appropriate dataset at runtime. If
you generate the fields directly from a database viz. stored proc or query,
you will get that dialog.

- Sahil Malik
Independent Consultant
You can reach me thru my blog - http://dotnetjunkies.com/WebLog/sahilmalik/



Alessandro Rossi said:
I made a report with the crystal report version included on .NET 2003. I
associated some report's fields to a database. When i execute the report
preview, the report ask me to write the userid, and the password to the
database.
 
Back
Top