Question Locked

How to pass report parameters....

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How to pass report parameters from Visual Studio to a report made from SQL Server Reporting Services.

Thanks in advance.

2 replies

by jeffreyalejo

Just include the parameters in Response.Redirect!

Example:

Dim vBranchName as String
Dim vDate as Date

vBranchName = "Washington Branch"
vDate= 2009-02-03

RedirectPage = "~/MainPage.aspx"
Response.Redirect("~/SamplePage.aspx?param1=1 ¶m2=" & vBranchName & " ¶m3=" & vDate)

This discussion is closed to new replies.