|
Subject:
|
Passing parameters
|
|
Posted By:
|
ceema
|
Post Date:
|
2/15/2006 3:03:06 AM
|
Hello,
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.
Thanks Ceema
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" myTable.ApplyLogOnInfo(myLogin) Next CrystalReportViewer1.ReportSource = crpt
|
|