locked
Exporting crystal report diect to PDF without going through Viewer RRS feed

  • Question

  • User336760158 posted

    I would like to export crystal report direct to PDF without going through Viewer

    Here is my Code   

    cryRpt.SetParameterValue("LocID", Label1.Text);
         
    cryRpt.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, true, "ExportedReport");

    I am getting this error message

    System.Runtime.InteropServices.COMException: Missing parameter values.

    There is something wrong with Set ParameterValue

    Any ideas would be appreciated

    Friday, October 4, 2019 3:55 AM

All replies