views:

28

answers:

0

Hi,

I fill a crystal report with data from my .Net Application.
Like this:

rptClass.SetDataSource(myDataSet);

My report has a stored procedure as data source.

First I would like to know why I have to set the login and parameter data in my report if I provide it with data by myself. I mean the report doesn't need that. It doesn't need to connect to the DB and get it from there. I already provided the data.

Second I do an export of the report. I used an db analyser and found out that while exporting the report connects to the db and gets the data itself AGAIN.
I don't want that!
I want to report to use the data I provide and I don't want to set any login stuff.

Can someone enlighten my please?

bye juergen