Click here to Skip to main content
15,905,419 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i was writing a code to bind reportparameters to report viewer
at below line i was getting """An error occurred during local report processing.""""""""
error can any one help for this


this.ReportViewer1.LocalReport.SetParameters(p);
Posted
Comments
ZurdoDev 28-Aug-13 7:19am    
We need more details. What is p? Show the relevant code.

1 solution

use two parameters to the function SetParameters:
as
this.ReportViewer1.LocalReport.SetParameters(index, value_for_parameter);
like
this.ReportViewer1.LocalReport.SetParameters(0, p);



or
this.ReportViewer1.LocalReport.SetParameters("parameter_Name",value_for_parameter );
and Parameter_Name should b same as in report
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900