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

c# - IMAP GMAIL getting folder list problem -

CUDA shared memory -