Torna al Thread

if (toReport is IReportableParam) { IReportableParam rp = (this.toReport as IReportableParam); if (rp.Parameters != null) { foreach (Pair reppar in rp.Parameters) { try { this.crystalReportViewer1.ParameterFieldInfo[(string)reppar.first].CurrentValues.AddValue(reppar.second); } catch (Exception exc) { logger.Log.Warn("impossibile settare il valore per il parametro " + (string)reppar.first); } } } } this.crystalReportViewer1.Show();
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5