0

I have a SSRS Report Viewer object on my ASP.NET VB.NET Page and a Text Box.

I've figured out how to set the Report Viewer Parameters but how do I "Get" values that are already set?

For example I want to Set the Value of a Textbox on the ASP Page based on a ReportViewer Parameter. I can get the Parameter Name using:

For Each oParamInfo In ReportViewer1.ServerReport.GetParameters
        oParamInfo.Name
Next

But I can't figure out how to get the value?

0

1 Answer 1

0

I suggest you do this in the expression for the Textbox in the rdl file. Check the Parameter value before deciding what value to output.

=IIF(Parameters!Numeric.Value = 1, "123", "ABC")
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.