c# - .NET Read ReportParameter from Local report -


is there way retrieve local parameter set using

 this.reportviewer1.localreport.setparameters(new reportparameter("usercomments", _usercomments)); 

thanks,

using linq can this:

    list<reportparameterinfo> parameters = reportviewer1.localreport.getparameters().where(t => t.name == "usercomments").tolist();     reportparameterinfo usercommentsparams = parameters[0];     string comments = usercommentsparams.values[0]; 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -