Peaq Developer

Peaq Developer

  • NA
  • 130
  • 3.6k

Crystal report asking username and password

May 29 2020 9:35 AM
Crystal report asking username and password But I am using Windows Authentication
 
ReportDocument crystalReport = new ReportDocument();
crystalReport.Load(Server.MapPath("~/CrystalReport1.rpt"));
crystalReport.SetDataSource(DBB.LIST("External").ToList());
crystalReport.DataSourceConnections[0].SetConnection(@".\SQLEXPRESS", "DB", true);
CrystalReportViewer1.ReportSource = crystalReport;

Answers (1)