get report to accept params In certain cases RRS feed

  • Question

  • Hello,

    I am totally new to Visual Studio report viewer and have run into a small problem. I have an existing report that works properly as it is. What I want to be able to do is link the existing report to a different page that has a dataGrid. When the user selects a row within the dataGrid I want to take the information from that row and pass them as parameters into the report.

    The dataGrid part already works, and I can see the parameters in the URL. The problem is changing the report so that it can either accept parameters if sent in through the URL and if not then display the dropdowns so that the user can pick what they want to see (which is how it is right now)

    Anyway I hope that makes sense…


    Monday, July 7, 2008 2:15 PM

All replies

  • well, you could just always pass the parameters into the report.     Set some default values for the parameters, and then use expressions to handle the default values of the parameters, or the user selected values.
    Living my life at 123mph in 11.15 seconds
    Monday, July 7, 2008 4:55 PM