我使用以下代码有问题地呈现报告:
rsExecService.ReportExecutionService rsExec = this.CreateReportExecutionService();
rsExecService.ExecutionInfo ei = rsExec.LoadReport(path, historyID);
Byte[] results;
string mimeType = String.Empty;
rsExecService.Warning[] warnings = null;
string[] streamIDs = null;
results = rsExec.Render(format, deviceInfo, out extension, out encoding, out mimeType, out warnings, out streamIDs);
(缺少一些变量定义,因为它们作为参数传递给方法)。
问题是我需要在渲染报告之前对报告进行一些关于本地化的预处理。
我查看了 ExecutionInfo 'ei',似乎没有成员可以让我访问原始 xml 报告内容。
是否有另一种方法来呈现允许我首先更改 xml 的报告?
ETA:请参阅下面的答案。