在WPF中不能直接使用拖拽使用 CrystalReportViewer 可以使用下面的代码实现

 

                CrystalReportViewer rptViewer = new CrystalReportViewer();

                WindowsFormsHost host = new WindowsFormsHost();
                rptViewer.ReportSource = crystalreport;
                host.Child = rptViewer;
                ReportGrid.Children.Add(host);

相关文章:

  • 2021-12-10
  • 2022-02-23
  • 2021-07-10
  • 2022-03-07
  • 2022-12-23
  • 2021-12-15
猜你喜欢
  • 2021-12-31
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
  • 2021-06-10
相关资源
相似解决方案