I have several reports the have parameters passed to the SQL statement through class parameters.
public string Param1
{
get
{
return (string)this.OrderPackData.Parameters["@InvoiceHeaderKey"].Value;
}
set
{
this.OrderPackData.Parameters["@InvoiceHeaderKey"].Value = value;
}
}
The reports are run as follows:
IReportDocument runtimeReport;
runtimeReport = new InvOrderPackList();
this.ReportViewer1.Report = runtimeReport;
(ReportViewer1.Report as InvOrderPackList).Param1 = "='" + Request.QueryString["InvoiceHeaderKey"] + "'";
How do I convert this to use in a reportbook?
Regards, Lee