问题描述
我想在我的 asp.net 应用程序中显示密封报告,为此我有集成 TestandSample 应用程序代码。 如何在我的应用程序中执行报告和呈现报告。 我需要什么脚本文件以及如何更改页眉页脚。 我目前的状态是:
public ActionResult ReportResult()
{
//Simple load and report execution and generation in a HTML Result file
Repository repository = Repository.Create();
Report report = Report.LoadFromFile(@"C:\ProgramData\Seal Report Repository\Reports\Search - Orders.srex",repository);
ReportExecution execution = new ReportExecution() { Report = report };
execution.Execute();
while (report.IsExecuting) System.Threading.Thread.Sleep(100);
string result = execution.GenerateHTMLResult();
Process.Start(result);
return View(); // How to return ---> execution.GenerateHTMLResult(); as view.
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)