我使用 Stimulsoft,当我想生成报告时,我看到了这个错误:
CS0121: The call is ambiguous between the following methods or properties: 'Stimulsoft.Report.Mvc.StiMvcBaseHelper.Stimulsoft(System.Web.Mvc.HtmlHelper)' and 'Stimulsoft.Report.Mvc.StiMvcBaseHelper.Stimulsoft(System.Web.Mvc.HtmlHelper)'
和我的 .cshtml 文件:
@using Stimulsoft.Report.Mvc
@{
ViewBag.Title = "GetCardReportS";
}
<head>
@Html.Stimulsoft().RenderMvcViewerScripts();
</head>
@Html.Stimulsoft().StiMvcViewer(new StiMvcViewerOptions() {
ActionGetReportSnapshot = "GetReportSnapshot",
ActionViewerEvent = "ViewerEvent",
ActionPrintReport = "PrintReport",
ActionExportReport = "ExportReport",
ActionInteraction = "Interaction"
})