i want to pass some parameter from my aspx page to report can anybody tell me how to achieve this
Loading
i want to pass some parameter from my aspx page to report can anybody tell me how to achieve this
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
RakrusPosted Jun 27, 2007, 1:57 AM
[] rptParams = new ReportParameter[NoOfParams];Here is of C# Code,i think it works fine when you r using ReoportViewer
ReportParameter
rptParams [i] =
new ReportParameter("ParameterName", "ParameterValue");.
.
.
ReportViewerObject.ServerReport.SetParameters(rptParams);
If any Issues mail me at [email protected]