Parameter

Stimulsoft Reports.WEB discussion
Post Reply
raj07
Posts: 21
Joined: Fri Feb 13, 2009 1:16 am
Location: Mumbai

Parameter

Post by raj07 »

Can i pass multiple parameter like @StartDate,@EndDate,@StudentId,@StudentName

i want pass this four parameter and user will ask to pass parameter
is possible to pass multiple parameter... do reply soon..
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Parameter

Post by Edward »

Hi.

Yes, it is possible. But only as follows:

report.Load(Server.MapPath("myReport.mrt"));
report.Compile();
report["@StartDate"] = New DateTime(2009,10,1);
report["@EndDate"] = New DateTime(2009,11,1);

stiWebViewer1.Report = report;

There is no possibility to pass all parameters at once except the using of variables from the Dictionary with string type and then parsing them "by hand" inside of the report somehow e.g. in the DeginRender event of the report.

Thank you.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Parameter

Post by Edward »

Hi.

Yes, it is possible. But only as follows:

report.Load(Server.MapPath("myReport.mrt"));
report.Compile();
report["@StartDate"] = New DateTime(2009,10,1);
report["@EndDate"] = New DateTime(2009,11,1);

stiWebViewer1.Report = report;

There is no possibility to pass all parameters at once except the using of variables from the Dictionary with string type and then parsing them "by hand" inside of the report somehow e.g. in the BeginRender event of the report.

Thank you.
Post Reply