Access a named parameter in an RDLC report in local mode

D

dbuchanan

I need information on how to programmatically access a named parameter
within an RDLC file associated with a ReportViewer in local mode.

I also want to verify that a parameter set up like this
=Fields!personID.Value will return what I am expecting.

For example if "LName" is displayed in a box and the parameter name is
'person_id' with the associated parameter value =fields!PersonID.Value then
when the user clicks on the textbox with "George" then the ID for george
will be available in that parameter and can be obtined programatically from
the ReportViewer1_Drillthrough event.



Thanks,

Doug
 
B

bruce barker

once you load the report into the viewer control you can access the parameters.

rptViewer.ServerReport.GetParameters()


-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,829
Latest member
PIXThurman

Latest Threads

Top