Crystal report asking username and password But I am Using Windows Authentication

  • Thread starter Thread starter el rey003
  • Start date Start date
E

el rey003

Guest
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;


Continue reading...
 
Back
Top