Link to home
Start Free TrialLog in
Avatar of JLEmlet
JLEmlet

asked on

Passing Parameter to ReportViewer in URL

Can someone give me an example of how to pass a parameter to the reportviewer using a URL.  I've created a aspx page that holds the reportviewer.  I just would like to be able to call this page and pass a parameter using the URL.  For example:

http://chelsea/webform1.aspx&listid=12345

I cannot find any direct examples of this.  Can anyone help?
Thanks,
Jim
Avatar of DotNetLover_Baan
DotNetLover_Baan

Hi there...
you can use response.redirect...

Dim ParamValue As Integer = 12345
Dim MyUrl As String
MyUrl = "chelsea/webform1.aspx&listid=" & ParamValue
Response.Redirect(MyUrl)

-Baan
Avatar of JLEmlet

ASKER

Thanks for the response, but my issue is how to pass the parameter to the reportviewer within the page.  
ASKER CERTIFIED SOLUTION
Avatar of DotNetLover_Baan
DotNetLover_Baan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
is that what you are looking for ?