刚学习rdlc在网上找了个教程http://wenku.baidu.com/view/4353882fb4daa58da0114a74.html
学着正来劲呢、突然报错。
this.reportViewer1.LocalReport.ReportEmbeddedResource = "Report.Report3.rdlc";
            ReportParameter rp = new ReportParameter("content", this.txt测试);
            this.reportViewer1.LocalReport.SetParameters(new ReportParameter[] { rp });
            this.reportViewer1.RefreshReport();错误原因是错误 1 “Microsoft.ReportingServices.ReportRendering.ReportParameter”不包含采用“2”参数的构造函数
错误 2 与“Microsoft.Reporting.WinForms.Report.SetParameters(System.Collections.Generic.IEnumerable<Microsoft.Reporting.WinForms.ReportParameter>)”最匹配的重载方法具有一些无效参数
错误 3 参数“1”: 无法从“Microsoft.ReportingServices.ReportRendering.ReportParameter[]”转换为“System.Collections.Generic.IEnumerable<Microsoft.Reporting.WinForms.ReportParameter>”
求知道的人给个修改思路或者方法、代码更好。 顺便随便说说为什么出错了啊、