Retriving Parameter in report..

Thread is closed for posting
4 posts, 0 answers
  1. Suriya
    Suriya avatar
    50 posts
    Member since:
    Jan 2009

    Posted 16 Jan 2009 Link to this post

    Hi..

            Thanks for ur reply about the passing parameter through sqladapter from the web form in C# and it should

    be very useful to me. Now i have tried to retrive the parameter value in the report.... For example if i am passing

    a date as parameter through a web form,how can i retrive or display that date in the report in the run time... 

                                                                                              By Suriya Narayanan.,

  2. Steve
    Admin
    Steve avatar
    10940 posts

    Posted 19 Jan 2009 Link to this post

    Hello Suriya,

    You can access it directly like so:

    Me.ReportViewer1.Report.ReportParameters("MyParam").Value = <your_reportparam_value>

    For consistency of our correspondence, please reply in the same forum/ticket thread when you have further questions on a started inquiry. Opening new threads only slows us down and we loose track of the answers already provided.

    Thank you for the understanding.

    Regards,
    Steve
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Suriya
    Suriya avatar
    50 posts
    Member since:
    Jan 2009

    Posted 24 Jan 2009 Link to this post

    Dear Sir.

    From yours coding..

      Me.ReportViewer1.Report.ReportParameters("MyParam").Value = <your_reportparam_value>

    1.what is mean by " MyParam " from the above line ?

    2.I think <your_reportparam_value> is the parameter that which i was created in the report.Is it correct or not?

                                                                  

                                                      By Suriya Narayanan

  4. Steve
    Admin
    Steve avatar
    10940 posts

    Posted 26 Jan 2009 Link to this post

    Hello Suriya,

    MyParam is the name of your Report  parameter and <your_reportparam_value> as the name suggests is the value you pass for that parameter.

    All the best,
    Steve
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top