accessing parameters for a web report
Posted: Wed May 09, 2007 2:12 pm
Hi
I have to know what parameters a report requires and then send those parameters to the report.
I can set up a report with un named parameters but how do I access then in my code.
If I set up an unnamed parameter called "para1" as a date type for a connection called "Connection" for a data source called "QCDocs" in report STIReport1
then in my page load I have the code:
inputType= stiReport1. ?? to get the types of parametes
i input the data
on button click to print report event :
StiReport1.GlobalizationStrings.LocalizeReport(LangCode)
StiReport1. ???? = inpDate.toShortDateString
StiWebViewer1.Report = StiReport1
Thanks for your time
Lena
I have to know what parameters a report requires and then send those parameters to the report.
I can set up a report with un named parameters but how do I access then in my code.
If I set up an unnamed parameter called "para1" as a date type for a connection called "Connection" for a data source called "QCDocs" in report STIReport1
then in my page load I have the code:
inputType= stiReport1. ?? to get the types of parametes
i input the data
on button click to print report event :
StiReport1.GlobalizationStrings.LocalizeReport(LangCode)
StiReport1. ???? = inpDate.toShortDateString
StiWebViewer1.Report = StiReport1
Thanks for your time
Lena