I would like to pass a value from my code to a variable in my report. I use the following code but it seems not work:
Code: Select all
DirectCast(report.Dictionary.Variables("Totale"), StiVariable).Value = CDbl(lblImporto.Text)
Thank you very much!
Code: Select all
DirectCast(report.Dictionary.Variables("Totale"), StiVariable).Value = CDbl(lblImporto.Text)
Code: Select all
report.Totale = CDbl(lblImporto.Text)
Code: Select all
DirectCast(report.Dictionary.Variables("Totale"), StiVariable).Value = CDbl(lblImporto.Text)
Code: Select all
report.Totale = CDbl(lblImporto.Text)