Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2823

Re: Problem - repeated database login required

$
0
0

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


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>