RDLC报表中要注意的事项
1、引用外部DLL的时候,必须先声明
rvcReportViewer.LocalReport.ExecuteReportInCurrentAppDomain(Assembly.GetExecutingAssembly().Evidence);
rvcReportViewer.LocalReport.AddTrustedCodeModuleInCurrentAppDomain(strReportPlugin);
在设定数据源。
不积跬步无以至千里
1、引用外部DLL的时候,必须先声明
rvcReportViewer.LocalReport.ExecuteReportInCurrentAppDomain(Assembly.GetExecutingAssembly().Evidence);
rvcReportViewer.LocalReport.AddTrustedCodeModuleInCurrentAppDomain(strReportPlugin);
在设定数据源。