winfrom水晶报表的创建

首先工具箱报表下拖入窗体CrystalReportViewer 控件

然后 添加新项 点击 Reporting 创建Crystal报表

            backReport.SetDataSource(dt);//数据传递给报表引擎
            crvBackListCard.ReportSource = backReport;//将报表设置为绑定到CrystalReportViewer控件

原文地址:https://www.cnblogs.com/wuhuisheng/p/1854153.html