This is a migrated thread and some comments may be shown as answers.
Retriving Parameter in report..
3 Answers 31 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Suriya
Top achievements
Rank 1
Suriya asked on 17 Jan 2009, 04:30 AM

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.,

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 19 Jan 2009, 11:04 AM
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.
0
Suriya
Top achievements
Rank 1
answered on 24 Jan 2009, 07:01 AM

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

0
Steve
Telerik team
answered on 26 Jan 2009, 02:09 PM
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.
Tags
General Discussions
Asked by
Suriya
Top achievements
Rank 1
Answers by
Steve
Telerik team
Suriya
Top achievements
Rank 1
Share this question
or