在MVC中使用ActiveReports7 加载一个PageReport时 一直不能呈现出来,求助
PageReport report = null;
report = new PageReport(new FileInfo(Server.MapPath("~/Reports/PagRep_DataList.rdlx")));
var list = new List<GasTag>() { new GasTag { Date = new DateTime(), Value = (new Random()).Next(100) }, new GasTag { Date = new DateTime(), Value = (new Random()).Next(100) } };
_reportdata = list;
((PageReport)(report)).Document.LocateDataSource += Document_LocateDataSource;
ViewBag.Report = report;
return PartialView("WebViewer");
文件不能上传呢? |
|