In Focus

Forums - C# Corner

Forum guidelines
Vasanth Natarajan

Vasanth Natarajan

  • 1.2k
  • 337
  • 7.5k

How to stop the crystal report Login page

Jul 17 2017 7:11 AM
 
My Code 
 
cryRpt.SetDatabaseLogon(UserName, Password, ServerName, DatabaseName); 
 string OutputPDFFileName = @"E:\temp\" + DateTime.Now.ToString("mmddyyyyHHMMss") + ".pdf";
cryRpt.DataSourceConnections[0].IntegratedSecurity = false;
crystalReportViewer1.ReportSource = cryRpt;
crystalReportViewer1.RefreshReport();
cryRpt.ExportToDisk(ExportFormatType.PortableDocFormat, OutputPDFFileName);
 
How to stop the DSN Login Screen

Answers (3)

X

Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now