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

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -

jQuery clickable div with working mailto link inside -