Re: ReportViewer Control Permission



Thanks for the response Donn.
I think you are referring to a Crystal Reports object.
I am working with SQL Server 2005 Reporting Services.

--

AG
Email: discuss at adhdata dot com
"Donn Felker" <dfelker@xxxxxxxxx> wrote in message
news:1190157593.971795.300160@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Have you tried something like this?


ReportDocument report = new ReportDocument();
report.Load("myreport.rpt", "AppServerName");
report.SetDatabaseLogon("user", "pass", "server", "dbname");

// ...
// do whatever you want with your report.



Or do you need to pass credentials to the actual server itself to log
on?



.


Loading