3
Reply

How to stop the crystal report Login page

Vasanth Natarajan

Vasanth Natarajan

Jul 17 2017 7:11 AM
234
 
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)