1
Reply

crystal report problem

potnuru ram prasad

potnuru ram prasad

Feb 1 2011 6:58 AM
2k
Hello Experts ,
         I am new in crystal report development, i have developed one report with table in design time and provided the login information and getting the data , but when running the application its prompting again to enter the login details, i want to show the data when i click on that particular link. please suggest me how to do and i am pasting the code , which is in .cs file form load event.


var crystalReport = new ReportDocument();
crystalReport.Load(Server.MapPath("RouteDetails.rpt"));
crystalReport.SetDatabaseLogon("sa", "leo_123", @"172.20.0.25", "BBMS");
CrystalReportViewer1.ReportSource = crystalReport;

please help me in this regards as it is very urgent for me.


      

Answers (1)