-
March 24th, 2004, 11:04 AM
#31
Re: password protected database
Hi curio11,
I am not sure as to what platform you are working on. I am using VS.Net 2003 and using C#. Here is what I did to solve this issue:
Right before I set the dataSource for my report. I did this:
myReport report = new myReport();
string login = "UserID";
string passWd = "Password";
report.SetDatabaseLogon(login,passWd);
crystalReportViewer1.ReportSource = report;
This did it for me. I hope this helps.
Take care.
Adios!
Salmaan.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|