I build a report and I need add one or more parameters at runtime:
this is my code:
Code: Select all
rep.Dictionary.DataSources[indexDS].Parameters.Add(new StiDataParameter()
{
Name = name,
DataSource = rep.Dictionary.DataSources[indexDS],
ParameterValue = value
});
message error:"exceps the parameter '@p1', which was not supplied."
can you help me?
thanks
Fabio