hello,
how can i load other finished report as subreport?
thanks a lot
use subreport
use subreport
Hello,
You can use the following code, for example:
.....
StiReport rep = new StiReport();
rep.LoadFromUrl(@"D:\MainReport.mrt");
rep.GetSubReport += new StiGetSubReportEventHandler(rep_GetSubReport);
rep.Render();
rep.Show();
.....
void rep_GetSubReport(object sender, StiGetSubReportEventArgs e)
{
StiReport rep = new StiReport();
rep.LoadFromUrl(@"D:\SubReport.mrt");
e.Report = rep;
}
Thank you.
You can use the following code, for example:
.....
StiReport rep = new StiReport();
rep.LoadFromUrl(@"D:\MainReport.mrt");
rep.GetSubReport += new StiGetSubReportEventHandler(rep_GetSubReport);
rep.Render();
rep.Show();
.....
void rep_GetSubReport(object sender, StiGetSubReportEventArgs e)
{
StiReport rep = new StiReport();
rep.LoadFromUrl(@"D:\SubReport.mrt");
e.Report = rep;
}
Thank you.
use subreport
i got it
thanks for your help
thanks for your help
use subreport
Ok! We are always glad to help you!