issue for add parameter from code
Posted: Mon Feb 24, 2014 9:09 pm
Hi, my name is fabio and here I am new and I try this software for my company.
I build a report and I need add one or more parameters at runtime:
this is my code:
but this is not work fine.
message error:"exceps the parameter '@p1', which was not supplied."
can you help me?
thanks
Fabio
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