This is a migrated thread and some comments may be shown as answers.

Passing parameters from web browser into Report

1 Answer 141 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ravi
Top achievements
Rank 1
ravi asked on 10 Dec 2008, 09:19 PM
Hi

Here I am working on reports with searching criteria.
can give me any example with passing parameters from browser into report.

I have quary like "Select firtsname,lastname from employee where firstname like '%'+@para1+'%'"
para1 parameter i need to pass from web browser.

plz let me know if know any one have answer
thx

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 11 Dec 2008, 08:05 AM
Hi ravi,

You can access the report parameters from the .aspx page like this:

this.ReportViewer1.Report.ReportParameters("para1").Value = query;

Kind regards,
Steve
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
ravi
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or