In my vb.net application, I am sending parameters to the SQL Query in a crystal report . It prints the parameters in the report but does not refresh the SQL Query, which should display table data. I have been trying to change the name of the database location since we need to move the report from development to production. The problem has been occurring since then.
My code is:
Private rptCount As New ReportDocument
Dim reportPath As String = Server.MapPath("Rpt1.rpt")
CrystalReportViewer1.ReportSource = rptCount
Appreciate any help.