版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/hunsoft/article/details/53964825
1、下载版表FastReport控件,如FastReport.Net_V2013.2.5_For_.Net4.0
2、找到FastReport.dll ,FastReport.Bars.dll,FastReport.Editor.dll三个文件
3、打开visual studio 2015创建一个工程名称为WfmFastReport,编辑界面,然后添加FastReport.dll ,FastReport.Bars.dll,FastReport.Editor.dll的引用。
4、调用FastReport:
FastReport.Report fastReport = new FastReport.Report();
string filename = @"D:\NET\TEST\FastReport\Base\FastReportTest\WindowsFormsApplication1\bin\Debug\BaseTest.frx";
fastReport.Load(filename);
fastReport.Show();
fastReport.Print();