none
trouble in passing parameters in reportviewer RRS feed

  • Question

  • hi,

    I have a web Site with many reports and forms.

    I associated some forms with rdls reports and datasources  and all they work .however;when i pass a parameter to a reportviewer i get this Error #Error in Textbox. While in run time and debug mode shows the report's parameters correctly.

    I remind it my parameter has single value

    Here' s a  peices of my project and I also Define parameter in rdls Report and  set reportpath and dependencies.

     

             List<ReportParameter> paramsColl = new List<ReportParameter>();

     

            paramsColl.Add(new ReportParameter("Mobile", "true",true));

            paramsColl.Add(new ReportParameter("Tel", "false",false));

     

     

            ReportViewer1.LocalReport.SetParameters(paramsColl);

     

            ReportViewer1.LocalReport.Refresh();

     

     

    I think report Server contains passed parameter,

    but they could be null value.

    I Tested in similar cases  but they work except this project.

     

    I need to get immidate help and

    i 'd like to now how content of Report Server Can be displayed in run time or Debug mode

    and what type of error can be.

     

    thanks for your leaderships.



    Monday, July 18, 2011 7:19 AM