I have created Crystal reports in version 9 and using asp.net(vb
code behind), I have called it with crystal report viewer. But now my problem is , I have to pass parameters to that(from another .aspx file). Since it's web based and having subreports I am using the following code to enter into each report. But I don't know how to pass parameters to that. Please help.
crpt = New FormReport
For Each myTable In crpt.Database.Tables
myLogin = myTable.LogOnInfo
myLogin.ConnectionInfo.ServerName = "IBA"
myLogin.ConnectionInfo.DatabaseName = "School"
myLogin.ConnectionInfo.Password = "12345"
myLogin.ConnectionInfo.UserID = "sa"
CrystalReportViewer1.ReportSource = crpt