locked
how to pass parameters to a reportviewer in asp.net c# RRS feed

  • Question

  • User-2079787324 posted

    Hi All,

    This is my first Reporting Services application. I have created a report by draging the ReportViewer control and create a dataset and adding an sql statement and i got the output. 

    can anyone tell me how to create a report using parameters.

    some sample code is much appreciated.

    Thanks in advance

    Monday, March 25, 2013 4:33 AM

Answers

All replies

  • User-987211141 posted

    Have a look on this link

    http://www.codeproject.com/Articles/15597/Using-the-ASP-NET-2-0-ReportViewer-in-Local-Mode

    Hope this helpful

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, March 25, 2013 5:17 AM
  • User-2079787324 posted

    Is there any way we can use it without sqlHelper?

    it throws an error

    the name 'sqlhelper' does not exist in the current context

    and i am using a select statement hope its ok

    Monday, March 25, 2013 5:57 AM
  • User-987211141 posted

    Is there any way we can use it without sqlHelper?

    it throws an error

    SqlHelper is just for establish connection with database. If you are not use helper class replace connection code with your code

    rest is same.

    Monday, March 25, 2013 6:03 AM
  • User-2079787324 posted

    .

    Monday, March 25, 2013 6:27 AM