Information générale
Titre:
It asks User name and password again and again
Versions des environnements
Hi,
I am trying to generate a Crystal report for my project. Since it is push report, I created an ADO connection and filled dataset to be shown in the report.
1. I then created a report and dataset called dataset31.xsd. Since We still have to connect to generate the data for Dataset31, so I selected a table in the dataset which I can use to drag and drop the fields on the report.
2. I copied the crystalreportViewer on my form and set its reportsource path to the report we created up.
3. I am filling the dataset and reportviewer using
CrystalReport1 rpt2=new CrystalReport1();
rpt2.SetDataSource(dataset31);
crystalReportViewer1.ActiveViewIndex=-1;
crystalReportViewer1.ReportSource = rpt2;
But this code opens the Login dialog box and even if I enter the info in it, it keep onpening it again and again.
Any info, is highly appreciated.
Bharat
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement