Hi Mam,
We use this code to pass username and pwd, but still not working.
Please help.
CReport.SimpleCrystalReportViewer simple = new CReport.SimpleCrystalReportViewer();
simple.Show();
CReport.CrystalReportCustomerContactList report = new CReport.CrystalReportCustomerContactList();
report.SetDatabaseLogon(db.UserName, db.Password, db.ServerName, db.DataBase);
report.Load();
simple.crystalReportViewer1.ReportSource = report;
simple.crystalReportViewer1.RefreshReport();
simple .crystalReportViewer1.Zoom(1);