إجابة مقترحة Winforms reportviewer control parameters

  • Monday, December 12, 2011 3:57 AM
     
     

    Hi,

    I've been trying to use the reportviewer control with local reports but am struggling to work out how or in fact whether you can show the parameters in the same way the web designer works. 

    I have designed the report (rdlc file) and I have the report parameters set to visible.  But I do not get any paramters showing.  I just get the report window below.

    Is this a limitation of the Windows control?  Could I hoste the webcontrol instead in my application and get the parameters showing?

     

    thanks

     

    Matt

     


    Application Developer

All Replies

  • Tuesday, December 13, 2011 4:32 PM
     
     Proposed Has Code

    Hi mamikel .

    you can try step below

    Create procedure A with @name_parameter

    Then create Crystal Report  B.rpt with dataset from procedure A

    Dim cr as New CrystalReport ' CrystalReport B
    cr.SetparameterValue("@name_parameter",textbox1.text)
    
    Best regards

     

     

     

     

    • Proposed As Answer by headshot9x9 Monday, September 17, 2012 4:29 PM
    •  
  • Thursday, December 15, 2011 5:36 PM
     
     Proposed

    Are you using the ReportViewer in Local or Remote mode? If you are using it in Local mode (ASP or WinForms) we do not display the Report parameter pane, it is up to the developer to create a Report parameter window since they control the setting of the report parameters.

    Matt M.
    --------------------------------------------------------------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights