求助
activereports中报错误 1 “GrapeCity.ActiveReports.Web.WebViewer”不包含“LoadDocument”的定义,并且找不到可接受类型为“GrapeCity.ActiveReports.Web.WebViewer”的第一个参数的扩展方法“LoadDocument”(是否缺少 using 指令或程序集引用?) c:\users\wangxinran\documents\visual studio 2013\Projects\WebApplication5\WebApplication5\WebForm1.aspx.cs 44 24 WebApplication5private void viewer1_Load(object sender, EventArgs e)
{
GrapeCity.ActiveReports.PageReport pageReport = new GrapeCity.ActiveReports.PageReport
(new System.IO.FileInfo("../../PageReport_DataSource_RdlReport1.rdlx"));
GrapeCity.ActiveReports.Document.PageDocument runtime = new GrapeCity.ActiveReports.Document.PageDocument(pageReport);
runtime.LocateDataSource += new GrapeCity.ActiveReports.LocateDataSourceEventHandler(runtime_LocateDataSource);
WebViewer1.LoadDocument(runtime);
}
}
} ASP.NET 项目加载报表,直接通过ReportName 或Report 属性来指定:
This.Viewer1.Report=pageReport 还有个问题,项目中又是报arjq未定义
能给个在web项目中如何加载rdl报表的教程么 谢谢了 Lenka.Guo 发表于 2017-3-28 17:31
ASP.NET 项目加载报表,直接通过ReportName 或Report 属性来指定:
This.Viewer1.Report=pageReport
能给个在web项目中如何加载rdl报表的教程么 谢谢了 您是已经购买的用户,还是正在试用评估的用户呢?
建议先看报表三小时入门视频,当然可以跳着看: http://gcdn.gcpowertools.com.cn/forum.php?mod=viewthread&tid=23353&extra=page%3D1 Lenka.Guo 发表于 2017-3-28 17:54
您是已经购买的用户,还是正在试用评估的用户呢?
建议先看报表三小时入门视频,当然可以跳着看: http: ...
使用评估的用户
了解,给您留言了,请注意查看~ Lenka.Guo 发表于 2017-3-28 17:54
您是已经购买的用户,还是正在试用评估的用户呢?
建议先看报表三小时入门视频,当然可以跳着看: http: ...
错误明细:
GrapeCity.ActiveReports.ReportException: 发生了一个意外错误。更多信息: '不支持所指定的方法。' ---> System.NotSupportedException: 不支持所指定的方法。
在 #PwA.#4Se.BeginTransaction()
在 #2wA.#9Ve.#U.#aWe.#Kcf(#bVe recordManager, #PTe expressionEvaluatorFactory)
在 #2wA.#9Ve.#Kcf(#dWe[] commands, #PTe expressionEvaluatorFactory)
在 #2wA.#1Ve.#aBA()
在 GrapeCity.ActiveReports.ReportsCore.Rendering.ReportProcessor.#dEf(ReportDataDefinition reportDataDef)
在 GrapeCity.ActiveReports.ReportsCore.Rendering.ReportProcessor.#Tol()
在 GrapeCity.ActiveReports.ReportsCore.Rendering.ReportProcessor.#fn(Boolean forceDataRefresh, Boolean forceParameterDataRefresh)
在 GrapeCity.ActiveReports.Document.PageDocument.#0Kf(Boolean forceDataRefresh, Boolean forceParameterDataRefresh)
--- 内部异常堆栈跟踪的结尾 ---
请问这个问题怎么解决呀
页:
[1]
2