Search code examples
c#rdlcdynamic-rdlc-generation

c# rdlc Set textbox text wihout parameter name string


Today I use this way to set textbox, by stringParameter

ReportParameterCollection reportParameters = new ReportParameterCollection();
reportParameters.Add(new ReportParameter("ParameterName", "Value"));
this.reportViewer.LocalReport.SetParameters(reportParameters);

The problem is that don't use autocompletion. So if parametername change, building will not raise anything. Is there a better (safe) way ?


Solution

  • So finally is not possible to do it.