Add query attribute to data provider class:
[
SRSReportQueryAttribute (querystr(Cust)),
SRSReportParameterAttribute(classstr(myReportContract))
]
class myReportDP extends SRSReportDataProviderBase
{
...
}
Get query like this:
[SysEntryPointAttribute(false)]
public void processReport()
{
QueryRun qRun;
Query query;
...
query = this.parmQuery();
...
Do not forget make Dynamics Filter property to true at SSRS report Dataset if you want to see select query button.
Hiç yorum yok:
Yorum Gönder